Merge branch 'work.xattr' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Oct 2016 00:11:50 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Oct 2016 00:11:50 +0000 (17:11 -0700)
Pull vfs xattr updates from Al Viro:
 "xattr stuff from Andreas

  This completes the switch to xattr_handler ->get()/->set() from
  ->getxattr/->setxattr/->removexattr"

* 'work.xattr' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  vfs: Remove {get,set,remove}xattr inode operations
  xattr: Stop calling {get,set,remove}xattr inode operations
  vfs: Check for the IOP_XATTR flag in listxattr
  xattr: Add __vfs_{get,set,remove}xattr helpers
  libfs: Use IOP_XATTR flag for empty directory handling
  vfs: Use IOP_XATTR flag for bad-inode handling
  vfs: Add IOP_XATTR inode operations flag
  vfs: Move xattr_resolve_name to the front of fs/xattr.c
  ecryptfs: Switch to generic xattr handlers
  sockfs: Get rid of getxattr iop
  sockfs: getxattr: Fail with -EOPNOTSUPP for invalid attribute names
  kernfs: Switch to generic xattr handlers
  hfs: Switch to generic xattr handlers
  jffs2: Remove jffs2_{get,set,remove}xattr macros
  xattr: Remove unnecessary NULL attribute name check

37 files changed:
1  2 
Documentation/filesystems/vfs.txt
drivers/staging/lustre/lustre/llite/file.c
drivers/staging/lustre/lustre/llite/namei.c
drivers/staging/lustre/lustre/llite/symlink.c
fs/9p/vfs_inode_dotl.c
fs/btrfs/inode.c
fs/cachefiles/namei.c
fs/ceph/inode.c
fs/ecryptfs/inode.c
fs/ext2/file.c
fs/ext4/file.c
fs/ext4/namei.c
fs/ext4/symlink.c
fs/f2fs/file.c
fs/f2fs/namei.c
fs/fuse/dir.c
fs/gfs2/inode.c
fs/hfs/inode.c
fs/hfsplus/inode.c
fs/inode.c
fs/jfs/file.c
fs/kernfs/inode.c
fs/libfs.c
fs/ocfs2/file.c
fs/orangefs/inode.c
fs/orangefs/namei.c
fs/overlayfs/copy_up.c
fs/overlayfs/dir.c
fs/overlayfs/inode.c
fs/overlayfs/super.c
fs/ubifs/file.c
fs/xfs/xfs_iops.c
include/linux/fs.h
mm/shmem.c
security/integrity/ima/ima_appraise.c
security/selinux/hooks.c
security/smack/smack_lsm.c

Simple merge
Simple merge
Simple merge
Simple merge
diff --cc fs/ceph/inode.c
Simple merge
Simple merge
diff --cc fs/ext2/file.c
Simple merge
diff --cc fs/ext4/file.c
Simple merge
diff --cc fs/ext4/namei.c
Simple merge
Simple merge
diff --cc fs/f2fs/file.c
Simple merge
diff --cc fs/f2fs/namei.c
Simple merge
diff --cc fs/fuse/dir.c
index a430c19607f4eae83e76bc3bf353c219a74ff878,dbf77fe1dc2e2f3631795430c0af11924096d6f0..572d12410c7c1ad405e753cb0627d77186259406
@@@ -1801,12 -1739,7 +1801,9 @@@ static const struct inode_operations fu
        .mknod          = fuse_mknod,
        .permission     = fuse_permission,
        .getattr        = fuse_getattr,
-       .setxattr       = generic_setxattr,
-       .getxattr       = generic_getxattr,
        .listxattr      = fuse_listxattr,
-       .removexattr    = generic_removexattr,
 +      .get_acl        = fuse_get_acl,
 +      .set_acl        = fuse_set_acl,
  };
  
  static const struct file_operations fuse_dir_operations = {
@@@ -1824,12 -1757,7 +1821,9 @@@ static const struct inode_operations fu
        .setattr        = fuse_setattr,
        .permission     = fuse_permission,
        .getattr        = fuse_getattr,
-       .setxattr       = generic_setxattr,
-       .getxattr       = generic_getxattr,
        .listxattr      = fuse_listxattr,
-       .removexattr    = generic_removexattr,
 +      .get_acl        = fuse_get_acl,
 +      .set_acl        = fuse_set_acl,
  };
  
  static const struct inode_operations fuse_symlink_inode_operations = {
diff --cc fs/gfs2/inode.c
Simple merge
diff --cc fs/hfs/inode.c
Simple merge
Simple merge
diff --cc fs/inode.c
Simple merge
diff --cc fs/jfs/file.c
Simple merge
Simple merge
diff --cc fs/libfs.c
Simple merge
diff --cc fs/ocfs2/file.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc fs/ubifs/file.c
Simple merge
Simple merge
Simple merge
diff --cc mm/shmem.c
Simple merge
Simple merge
Simple merge
Simple merge