]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - mm/filemap.c
switch generic_write_checks() to iocb and iter
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 9 Apr 2015 16:55:47 +0000 (12:55 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 Apr 2015 02:30:21 +0000 (22:30 -0400)
commit3309dd04cbcd2cdad168485af5cf3576b5051e49
tree3e01f865306dee01b31f34c9e7e819a5f42a4087
parent90320251db0fe3d05f2b10686ec936c7d6ecd99a
switch generic_write_checks() to iocb and iter

... returning -E... upon error and amount of data left in iter after
(possible) truncation upon success.  Note, that normal case gives
a non-zero (positive) return value, so any tests for != 0 _must_ be
updated.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Conflicts:
fs/ext4/file.c
14 files changed:
fs/9p/vfs_file.c
fs/btrfs/file.c
fs/ceph/file.c
fs/cifs/file.c
fs/ext4/file.c
fs/fuse/file.c
fs/ncpfs/file.c
fs/nfs/direct.c
fs/ntfs/file.c
fs/ocfs2/file.c
fs/udf/file.c
fs/xfs/xfs_file.c
include/linux/fs.h
mm/filemap.c