[git pull] vfs part 2

From: Al Viro
Date: Wed Apr 15 2015 - 14:14:14 EST


Now that net-next went in... Here's the next big chunk - killing
->aio_read() and ->aio_write(). There'll be one more pile today (direct_IO
changes and generic_write_checks() cleanups/fixes), but I'd prefer to keep
that one separate. Please, pull from
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus-2

Shortlog:
Al Viro (37):
cuse: switch to iov_iter
fuse: switch fuse_direct_io_file_operations to ->{read,write}_iter()
expand __fuse_direct_write() in both callers
lustre: kill unused members of struct vvp_thread_info
ioctx_alloc(): remove pointless check
aio_run_iocb(): kill dead check
acct: check FMODE_CAN_WRITE
nommu: use __vfs_read()
net/9p: switch the guts of p9_client_{read,write}() to iov_iter
9p: switch p9_client_write() to passing it struct iov_iter *
9p: switch ->writepage() to direct use of p9_client_write()
9p: fold v9fs_file_write_internal() into the caller
9p: get rid of v9fs_direct_file_write()
9p: switch p9_client_read() to passing struct iov_iter *
9p: get rid of v9fs_direct_file_read()
9p: switch to ->read_iter/->write_iter
9p: we are leaking glock.client_id in v9fs_file_getlock()
p9_client_attach(): set fid->uid correctly
net/9p: remove (now-)unused helpers
ncpfs: switch to ->read_iter/->write_iter
coda: switch to ->read_iter/->write_iter
switch hugetlbfs to ->read_iter()
new helper: __vfs_write()
autofs: switch to __vfs_write()
export __vfs_read()
ashmem: use __vfs_read()
serial2002: switch to __vfs_read/__vfs_write
switch /dev/loop to vfs_iter_write()
coredump: accept any write method
make new_sync_{read,write}() static
switch drivers/char/mem.c to ->read_iter/->write_iter
fuse: switch to ->read_iter/->write_iter
fuse: use iov_iter_get_pages() for non-splice path
kill do_sync_read/do_sync_write
infinibad: weird APIs switched to ->write_iter()
pcm: another weird API abuse
->aio_read and ->aio_write removed

Diffstat:
Documentation/filesystems/Locking | 2 -
Documentation/filesystems/porting | 12 +
Documentation/filesystems/vfs.txt | 6 -
arch/s390/hypfs/inode.c | 2 -
drivers/block/loop.c | 12 +-
drivers/char/mem.c | 20 +-
drivers/char/raw.c | 2 -
drivers/infiniband/hw/ipath/ipath_file_ops.c | 18 +-
drivers/infiniband/hw/qib/qib_file_ops.c | 20 +-
drivers/net/macvtap.c | 2 -
drivers/net/tun.c | 2 -
drivers/staging/android/ashmem.c | 2 +-
drivers/staging/comedi/drivers/serial2002.c | 18 +-
drivers/staging/lustre/lustre/llite/file.c | 6 -
.../staging/lustre/lustre/llite/llite_internal.h | 2 -
drivers/usb/gadget/function/f_fs.c | 2 -
drivers/usb/gadget/legacy/inode.c | 2 -
fs/9p/v9fs_vfs.h | 4 -
fs/9p/vfs_addr.c | 80 +++---
fs/9p/vfs_dir.c | 15 +-
fs/9p/vfs_file.c | 314 ++++-----------------
fs/9p/xattr.c | 80 ++----
fs/adfs/file.c | 2 -
fs/affs/file.c | 2 -
fs/afs/file.c | 2 -
fs/aio.c | 23 +-
fs/autofs4/autofs_i.h | 2 +-
fs/autofs4/waitq.c | 2 +-
fs/bfs/file.c | 2 -
fs/block_dev.c | 2 -
fs/btrfs/file.c | 2 -
fs/ceph/file.c | 2 -
fs/cifs/cifsfs.c | 12 -
fs/coda/file.c | 38 +--
fs/coredump.c | 2 +-
fs/ecryptfs/file.c | 2 -
fs/exofs/file.c | 2 -
fs/ext2/file.c | 4 -
fs/ext3/file.c | 2 -
fs/ext4/file.c | 4 -
fs/f2fs/file.c | 2 -
fs/fat/file.c | 2 -
fs/file_table.c | 4 +-
fs/fuse/cuse.c | 25 +-
fs/fuse/dev.c | 63 ++---
fs/fuse/file.c | 69 ++---
fs/gfs2/file.c | 4 -
fs/hfs/inode.c | 2 -
fs/hfsplus/inode.c | 2 -
fs/hostfs/hostfs_kern.c | 2 -
fs/hpfs/file.c | 2 -
fs/hugetlbfs/inode.c | 91 +++---
fs/jffs2/file.c | 2 -
fs/jfs/file.c | 2 -
fs/logfs/file.c | 2 -
fs/minix/file.c | 2 -
fs/ncpfs/file.c | 90 ++----
fs/ncpfs/ncplib_kernel.c | 6 +-
fs/ncpfs/ncplib_kernel.h | 2 +-
fs/nfs/file.c | 2 -
fs/nfs/nfs4file.c | 2 -
fs/nilfs2/file.c | 2 -
fs/ntfs/file.c | 2 -
fs/ocfs2/file.c | 4 -
fs/omfs/file.c | 2 -
fs/open.c | 4 +-
fs/pipe.c | 2 -
fs/ramfs/file-mmu.c | 2 -
fs/ramfs/file-nommu.c | 2 -
fs/read_write.c | 109 ++-----
fs/reiserfs/file.c | 2 -
fs/romfs/mmap-nommu.c | 1 -
fs/sysv/file.c | 2 -
fs/ubifs/file.c | 2 -
fs/udf/file.c | 2 -
fs/ufs/file.c | 2 -
fs/xfs/xfs_file.c | 2 -
include/linux/fs.h | 7 +-
include/net/9p/client.h | 8 +-
include/net/9p/transport.h | 2 +-
kernel/acct.c | 2 +-
mm/nommu.c | 4 +-
mm/shmem.c | 2 -
net/9p/client.c | 262 ++++++++---------
net/9p/protocol.c | 24 +-
net/9p/trans_common.c | 42 +--
net/9p/trans_common.h | 2 -
net/9p/trans_virtio.c | 137 +++++----
net/socket.c | 2 -
sound/core/pcm_native.c | 39 +--
90 files changed, 598 insertions(+), 1185 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/