kill generic_segment_checks()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 4 Mar 2014 20:24:06 +0000 (15:24 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 6 May 2014 21:32:43 +0000 (17:32 -0400)
commitcb66a7a1f149ff705fa37cad6d1252b046e0ad4f
tree32dd17f294e9ef96bfea727bba313a33590917ab
parent0ae5e4d370599592eab845527b31708a4f3411be
kill generic_segment_checks()

all callers of ->aio_read() and ->aio_write() have iov/nr_segs already
checked - generic_segment_checks() done after that is just an odd way
to spell iov_length().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/lustre/lustre/llite/file.c
fs/btrfs/file.c
fs/ceph/file.c
fs/fuse/file.c
fs/ntfs/file.c
fs/ocfs2/file.c
fs/xfs/xfs_file.c
include/linux/fs.h
mm/filemap.c
mm/shmem.c