iov_iter_truncate()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 22 Mar 2014 10:51:37 +0000 (06:51 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 6 May 2014 21:32:54 +0000 (17:32 -0400)
commit0c949334a9e2581646c6ff0d1470a805b1e5be99
tree60a4d6bc2260d648915baa9b78626cd4b6915431
parent28060d5d9b261da110afe48aae7a2aa6555f798f
iov_iter_truncate()

Now It Can Be Done(tm) - we don't need to do iov_shorten() in
generic_file_direct_write() anymore, now that all ->direct_IO()
instances are converted to proper iov_iter methods and honour
iter->count and iter->iov_offset properly.

Get rid of count/ocount arguments of generic_file_direct_write(),
while we are at it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/btrfs/file.c
fs/fuse/file.c
fs/ocfs2/file.c
fs/xfs/xfs_file.c
include/linux/fs.h
include/linux/uio.h
mm/filemap.c