[git pull] vfs pile 1

From: Al Viro
Date: Fri Dec 16 2016 - 08:30:51 EST


This time there's too many branches to push them one by one,
unfortunately. This pile:
* more ->d_init() stuff (work.dcache)
* pathname resolution cleanups (work.namei)
* a few missing iov_iter primitives - copy_from_iter_full() and
friends. Either copy the full requested amount, advance the iterator and
return true, or fail, return false and do _not_ advance the iterator.
Quite a few open-coded callers converted (and became more readable and
harder to fuck up that way) (work.iov_iter)
* several assorted patches, the big one being logfs removal

Right now there's one trivial conflict in lustre (and a couple even
more trivial ones in logfs).

The following changes since commit e5517c2a5a49ed5e99047008629f1cd60246ea0e:

Linux 4.9-rc7 (2016-11-27 13:08:04 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

for you to fetch changes up to c4364f837caf618c2fdb51a2e132cf29dfd1fffa:

Merge branches 'work.namei', 'work.dcache' and 'work.iov_iter' into for-linus (2016-12-15 01:07:29 -0500)

----------------------------------------------------------------
Al Viro (14):
lustre: switch to use of ->d_init()
ceph: unify dentry_operations instances
ceph: switch to use of ->d_init()
don't open-code file_inode()
[iov_iter] new primitives - copy_from_iter_full() and friends
make skb_add_data,{_nocache}() and skb_copy_to_page_nocache() advance only on success
switch getfrag callbacks to ..._full() primitives
namei.c: get rid of user_path_parent()
namei: saner calling conventions for mountpoint_last()
namei: shift interpretation of LOOKUP_FOLLOW inside should_follow_link()
namei: invert WALK_PUT logics
namei: pass both WALK_GET and WALK_MORE to should_follow_link()
namei: fold should_follow_link() with the step into not-followed link
Merge branches 'work.namei', 'work.dcache' and 'work.iov_iter' into for-linus

Christoph Hellwig (1):
logfs: remove from tree

Li Wang (1):
vfs: fix put_compat_statfs64() does not handle errors

Documentation/filesystems/00-INDEX | 2 -
Documentation/filesystems/logfs.txt | 241 --
MAINTAINERS | 8 -
drivers/bluetooth/hci_vhci.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 20 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 4 +-
drivers/net/macvtap.c | 4 +-
drivers/net/tun.c | 7 +-
drivers/staging/greybus/camera.c | 4 +-
drivers/staging/greybus/es2.c | 6 +-
drivers/staging/greybus/svc.c | 6 +-
drivers/staging/greybus/timesync.c | 2 +-
drivers/staging/lustre/lustre/llite/dcache.c | 33 +-
.../staging/lustre/lustre/llite/llite_internal.h | 17 +-
drivers/staging/lustre/lustre/llite/llite_nfs.c | 22 +-
drivers/staging/lustre/lustre/llite/namei.c | 13 +-
drivers/staging/lustre/lustre/llite/statahead.c | 4 +-
drivers/target/target_core_configfs.c | 2 +-
drivers/usb/gadget/function/f_fs.c | 2 +-
drivers/usb/gadget/legacy/inode.c | 2 +-
drivers/vhost/scsi.c | 3 +-
drivers/vhost/vhost.c | 3 +-
fs/Kconfig | 1 -
fs/Makefile | 1 -
fs/aio.c | 6 +-
fs/autofs4/inode.c | 2 +-
fs/ceph/dir.c | 51 +-
fs/ceph/export.c | 26 +-
fs/ceph/file.c | 4 -
fs/ceph/inode.c | 22 +-
fs/ceph/super.c | 2 +-
fs/ceph/super.h | 10 +-
fs/compat.c | 6 +-
fs/fcntl.c | 2 +-
fs/logfs/Kconfig | 17 -
fs/logfs/Makefile | 13 -
fs/logfs/compr.c | 95 -
fs/logfs/dev_bdev.c | 322 ---
fs/logfs/dev_mtd.c | 274 ---
fs/logfs/dir.c | 801 -------
fs/logfs/file.c | 285 ---
fs/logfs/gc.c | 732 -------
fs/logfs/inode.c | 428 ----
fs/logfs/journal.c | 894 --------
fs/logfs/logfs.h | 735 -------
fs/logfs/logfs_abi.h | 629 ------
fs/logfs/readwrite.c | 2298 --------------------
fs/logfs/segment.c | 961 --------
fs/logfs/super.c | 653 ------
fs/namei.c | 147 +-
fs/ncpfs/file.c | 2 +-
fs/orangefs/devorangefs-req.c | 13 +-
fs/orangefs/file.c | 2 +-
fs/orangefs/orangefs-debugfs.c | 6 +-
fs/overlayfs/copy_up.c | 2 +-
include/linux/skbuff.h | 6 +-
include/linux/uio.h | 3 +
include/net/sock.h | 6 +-
include/net/udplite.h | 2 +-
kernel/audit_watch.c | 4 +-
kernel/events/core.c | 2 +-
kernel/locking/qspinlock_stat.h | 12 +-
kernel/printk/printk.c | 2 +-
lib/iov_iter.c | 98 +-
net/atm/common.c | 2 +-
net/bluetooth/l2cap_core.c | 6 +-
net/ipv4/ip_output.c | 4 +-
net/ipv4/ping.c | 8 +-
net/packet/af_packet.c | 5 +-
net/tipc/msg.c | 4 +-
security/keys/keyctl.c | 2 +-
security/smack/smack_lsm.c | 2 +-
73 files changed, 264 insertions(+), 9755 deletions(-)
delete mode 100644 Documentation/filesystems/logfs.txt
delete mode 100644 fs/logfs/Kconfig
delete mode 100644 fs/logfs/Makefile
delete mode 100644 fs/logfs/compr.c
delete mode 100644 fs/logfs/dev_bdev.c
delete mode 100644 fs/logfs/dev_mtd.c
delete mode 100644 fs/logfs/dir.c
delete mode 100644 fs/logfs/file.c
delete mode 100644 fs/logfs/gc.c
delete mode 100644 fs/logfs/inode.c
delete mode 100644 fs/logfs/journal.c
delete mode 100644 fs/logfs/logfs.h
delete mode 100644 fs/logfs/logfs_abi.h
delete mode 100644 fs/logfs/readwrite.c
delete mode 100644 fs/logfs/segment.c
delete mode 100644 fs/logfs/super.c