do_sync_read/write() should set kiocb.ki_nbytes to be consistent
authorDavid Howells <dhowells@redhat.com>
Wed, 24 Mar 2010 17:09:19 +0000 (17:09 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Mar 2010 23:43:29 +0000 (16:43 -0700)
commit61964eba5c419ff710ac996c5ed3a84d5af7490f
tree5f857102f1332f61ef52c2e3faacab3a7909bcbb
parent47568d4c56677ede6e7ff7c8e4e0fd860a9c4372
do_sync_read/write() should set kiocb.ki_nbytes to be consistent

do_sync_read/write() should set kiocb.ki_nbytes to be consistent with
do_sync_readv_writev().

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/read_write.c