]> git.hungrycats.org Git - linux/commit
sysfs: Fix binary file handling.
authorPatrick Mochel <mochel@osdl.org>
Thu, 6 Mar 2003 14:21:40 +0000 (08:21 -0600)
committerPatrick Mochel <mochel@osdl.org>
Thu, 6 Mar 2003 14:21:40 +0000 (08:21 -0600)
commitf81ab470149ec7b76c633113bc9dc42b42ba5496
tree2e192095e737ca1f4b50318d262092b27be9bae8
parent1cdccc699de552d72a02d21dd28214d2de7ac693
sysfs: Fix binary file handling.

From Rusty Lynch:

* makes sysfs cleanup the buffer->data allocated by the attribute write
functions
* fixes a bug that causes the kernel to oops when somebody attempts to
write to the file.
fs/sysfs/bin.c