]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 23 Apr 2014 14:24:41 +0000 (10:24 -0400)
commit3532a380b524e1a661d41233a88458b8a0417ad9
treebf9d5fe1bc83b44851aa8e51c97c2800b0fc4251
parent3ab3d550e3a9e0defd5593cd19bf08ec1430b73e
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