[git pull] vfs.git part 1

From: Al Viro
Date: Thu Jul 28 2016 - 11:56:01 EST


Assorted cleanups and fixes. Probably the most interesting part long-term
is ->d_init() - that will have a bunch of followups in (at least) ceph
and lustre, but we'll need to sort the barrier-related rules before it
can get used for really non-trivial stuff. Another fun thing is the merge
of ->d_iput() callers (dentry_iput() and dentry_unlink_inode()) and
a bunch of ->d_compare() ones (all except the one in __d_lookup_lru()).

The only conflict is in fs/nfs/dir.c; I can push a merge candidate, but
the conflict is really trivial...

The following changes since commit e06b933e6ded42384164d28a2060b7f89243b895:

namespace: update event counter when umounting a deleted dentry (2016-06-30 23:28:30 -0400)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.misc

for you to fetch changes up to 47be61845c775643f1aa4d2a54343549f943c94c:

fs/dcache.c: avoid soft-lockup in dput() (2016-07-24 16:37:16 -0400)

----------------------------------------------------------------
Al Viro (21):
undo "fs: allow d_instantiate to be called with negative parent dentry"
drbd: ->d_parent is never NULL or negative
securityfs: ->d_parent is never NULL or negative
tracefs: ->d_parent is never NULL or negative...
orangefs: don't open-code %pd2
nfs_lookup(): remove debris left over from old sillyunlink exclusion
debugfs: ->d_parent is never NULL or negative
9p: new helper - v9fs_parent_fid()
trim fsnotify hooks a bit
file_inode(f)->i_mapping is f->f_mapping
missed comment updates from ->direct_IO() prototype change
orangefs: constify inode_operations
ufs: get rid of redundant checks
drop redundant ->owner initializations
binfmt_misc: ->s_root is not going anywhere
unify dentry_iput() and dentry_unlink_inode()
Merge branch 'for-linus' into work.misc
new helper: d_same_name()
Merge branch 'd_real' of git://git.kernel.org/.../mszeredi/vfs into work.misc
bdev: get rid of ->bd_inodes
Merge branch 'test.d_iput' into work.misc

He Kuang (1):
dentry_cmp(): use lockless_dereference() instead of smp_read_barrier_depends()

Matthew Wilcox (1):
Remove last traces of ->sync_page

Miklos Szeredi (4):
vfs: merge .d_select_inode() into .d_real()
vfs: document ->d_real()
vfs: clean up documentation
vfs: new d_init method

Oleg Drokin (1):
vfs: Update lookup_dcache() comment

Wei Fang (1):
fs/dcache.c: avoid soft-lockup in dput()

Documentation/block/biodoc.txt | 3 +-
Documentation/filesystems/Locking | 18 ++-
Documentation/filesystems/vfs.txt | 51 +++++----
drivers/block/drbd/drbd_debugfs.c | 4 -
drivers/gpu/drm/armada/armada_gem.c | 4 +-
drivers/gpu/drm/drm_gem.c | 2 +-
drivers/gpu/drm/etnaviv/etnaviv_gem.c | 2 +-
drivers/gpu/drm/i915/i915_gem.c | 10 +-
drivers/gpu/drm/omapdrm/omap_gem.c | 2 +-
drivers/gpu/drm/ttm/ttm_tt.c | 4 +-
fs/9p/fid.h | 4 +
fs/9p/vfs_addr.c | 1 -
fs/9p/vfs_inode.c | 10 +-
fs/9p/vfs_inode_dotl.c | 16 +--
fs/binfmt_misc.c | 12 +-
fs/block_dev.c | 16 +--
fs/cachefiles/proc.c | 1 -
fs/cifs/cifs_debug.c | 7 --
fs/coda/pioctl.c | 1 -
fs/dcache.c | 208 +++++++++++-----------------------
fs/debugfs/inode.c | 7 --
fs/ext4/mballoc.c | 1 -
fs/ext4/sysfs.c | 1 -
fs/f2fs/super.c | 1 -
fs/fscache/histogram.c | 1 -
fs/fscache/object-list.c | 1 -
fs/fscache/stats.c | 1 -
fs/hfs/inode.c | 2 +-
fs/hfsplus/inode.c | 2 +-
fs/isofs/compress.c | 1 -
fs/jfs/jfs_debug.c | 1 -
fs/jfs/jfs_logmgr.c | 1 -
fs/jfs/jfs_metapage.c | 1 -
fs/jfs/jfs_txnmgr.c | 2 -
fs/jfs/jfs_xtree.c | 1 -
fs/lockd/procfs.c | 1 -
fs/namei.c | 7 +-
fs/nfs/client.c | 2 -
fs/nfs/dir.c | 11 +-
fs/nfs/direct.c | 4 +-
fs/nfsd/nfsctl.c | 3 -
fs/nfsd/stats.c | 1 -
fs/ntfs/inode.c | 2 +-
fs/ocfs2/aops.c | 2 +-
fs/open.c | 8 +-
fs/orangefs/inode.c | 2 +-
fs/orangefs/namei.c | 10 +-
fs/orangefs/orangefs-kernel.h | 6 +-
fs/orangefs/symlink.c | 2 +-
fs/overlayfs/inode.c | 31 ++---
fs/overlayfs/overlayfs.h | 2 +-
fs/overlayfs/super.c | 20 +++-
fs/tracefs/inode.c | 7 --
fs/ufs/dir.c | 17 +--
fs/xfs/xfs_stats.c | 1 -
include/linux/dcache.h | 41 +++----
include/linux/fs.h | 8 +-
include/linux/fsnotify.h | 12 --
include/linux/fsnotify_backend.h | 20 +---
mm/hugetlb.c | 2 +-
security/inode.c | 15 +--
61 files changed, 224 insertions(+), 413 deletions(-)