]> git.neil.brown.name Git - history.git/commit
sysfs: return -EFAULT if copy_{to,from}_user() doesn't copy all bytes.
authorPatrick Mochel <mochel@osdl.org>
Mon, 13 Jan 2003 03:49:55 +0000 (21:49 -0600)
committerPatrick Mochel <mochel@osdl.org>
Mon, 13 Jan 2003 03:49:55 +0000 (21:49 -0600)
commit8deb34fe8baddbf7b431fd66d8b4ee18d805cd63
tree7fd92755746e29e096a49bbc2930ef67a09a60bb
parentbcd998aad6496759d239eaba760a6ca6d1a73e2c
sysfs: return -EFAULT if copy_{to,from}_user() doesn't copy all bytes.

...instead of returning the error value (which is number of bytes remaining).
fs/sysfs/inode.c