[git pull] vfs fixes

From: Al Viro
Date: Fri May 27 2016 - 20:10:57 EST


work.lookups followups - update docs, restore killability of
the places that used to take ->i_mutex killably now that we have
down_write_killable() merged. Additionally, it turns out that I missed
a prereq for security_d_instantiate() stuff - ->getxattr() wasn't the
only thing that could be called before dentry is attached to inode; with
smack we needed the same treatment applied to ->setxattr() as well.

The following changes since commit 0985b65d3ba2c09f10a594b73df45c1f7f68d317:

Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (2016-05-25 15:59:09 -0700)

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 3767e255b390d72f9a33c08d9e86c5f21f25860f:

switch ->setxattr() to passing dentry and inode separately (2016-05-27 20:09:16 -0400)

----------------------------------------------------------------
Al Viro (5):
update D/f/directory-locking
add down_write_killable_nested()
restore killability of old mutex_lock_killable(&inode->i_mutex) users
switch xattr_handler->set() to passing dentry and inode separately
switch ->setxattr() to passing dentry and inode separately

Documentation/filesystems/directory-locking | 32 ++++++++++++++--------
Documentation/filesystems/porting | 7 +++++
.../staging/lustre/lustre/llite/llite_internal.h | 4 +--
drivers/staging/lustre/lustre/llite/xattr.c | 6 ++--
fs/9p/acl.c | 6 ++--
fs/9p/xattr.c | 5 ++--
fs/bad_inode.c | 4 +--
fs/btrfs/ioctl.c | 18 +++++-------
fs/btrfs/xattr.c | 12 ++++----
fs/ceph/xattr.c | 7 +++--
fs/cifs/xattr.c | 9 +++---
fs/ecryptfs/crypto.c | 9 +++---
fs/ecryptfs/ecryptfs_kernel.h | 4 +--
fs/ecryptfs/inode.c | 7 +++--
fs/ecryptfs/mmap.c | 3 +-
fs/ext2/xattr_security.c | 7 +++--
fs/ext2/xattr_trusted.c | 7 +++--
fs/ext2/xattr_user.c | 9 +++---
fs/ext4/xattr_security.c | 7 +++--
fs/ext4/xattr_trusted.c | 7 +++--
fs/ext4/xattr_user.c | 9 +++---
fs/f2fs/xattr.c | 12 ++++----
fs/fuse/dir.c | 6 ++--
fs/gfs2/xattr.c | 6 ++--
fs/hfs/attr.c | 6 ++--
fs/hfs/hfs_fs.h | 2 +-
fs/hfsplus/xattr.c | 12 ++++----
fs/hfsplus/xattr.h | 2 +-
fs/hfsplus/xattr_security.c | 7 +++--
fs/hfsplus/xattr_trusted.c | 7 +++--
fs/hfsplus/xattr_user.c | 7 +++--
fs/jffs2/security.c | 7 +++--
fs/jffs2/xattr_trusted.c | 7 +++--
fs/jffs2/xattr_user.c | 7 +++--
fs/jfs/xattr.c | 14 ++++------
fs/kernfs/inode.c | 11 ++++----
fs/kernfs/kernfs-internal.h | 3 +-
fs/libfs.c | 5 ++--
fs/nfs/nfs4proc.c | 19 ++++++-------
fs/ocfs2/xattr.c | 23 +++++++++-------
fs/orangefs/xattr.c | 10 ++++---
fs/overlayfs/inode.c | 5 ++--
fs/overlayfs/overlayfs.h | 5 ++--
fs/overlayfs/readdir.c | 4 +--
fs/posix_acl.c | 6 ++--
fs/readdir.c | 12 ++++----
fs/reiserfs/xattr_security.c | 9 +++---
fs/reiserfs/xattr_trusted.c | 9 +++---
fs/reiserfs/xattr_user.c | 9 +++---
fs/ubifs/xattr.c | 7 ++---
fs/xattr.c | 10 ++++---
fs/xfs/xfs_xattr.c | 9 +++---
include/linux/fs.h | 3 +-
include/linux/rwsem.h | 2 ++
include/linux/xattr.h | 7 +++--
kernel/locking/rwsem.c | 16 +++++++++++
mm/shmem.c | 7 +++--
security/smack/smack_lsm.c | 2 +-
58 files changed, 265 insertions(+), 209 deletions(-)