aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2016-09-29 11:48:45 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-10-07 21:48:36 -0400
commitfd50ecaddf8372a1d96e0daeaac0f93cf04e4d42 (patch)
tree2a7d258793534d8b67d6369d0659e5c5aac9cbb7 /mm
parent41fefa36be0b3356b95ca665042fc54c2646a833 (diff)
vfs: Remove {get,set,remove}xattr inode operations
These inode operations are no longer used; remove them. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm')
-rw-r--r--mm/shmem.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/mm/shmem.c b/mm/shmem.c
index 971fc83e6402..6505c8b99f31 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -3288,10 +3288,7 @@ static const struct inode_operations shmem_short_symlink_operations = {
3288 .readlink = generic_readlink, 3288 .readlink = generic_readlink,
3289 .get_link = simple_get_link, 3289 .get_link = simple_get_link,
3290#ifdef CONFIG_TMPFS_XATTR 3290#ifdef CONFIG_TMPFS_XATTR
3291 .setxattr = generic_setxattr,
3292 .getxattr = generic_getxattr,
3293 .listxattr = shmem_listxattr, 3291 .listxattr = shmem_listxattr,
3294 .removexattr = generic_removexattr,
3295#endif 3292#endif
3296}; 3293};
3297 3294
@@ -3299,10 +3296,7 @@ static const struct inode_operations shmem_symlink_inode_operations = {
3299 .readlink = generic_readlink, 3296 .readlink = generic_readlink,
3300 .get_link = shmem_get_link, 3297 .get_link = shmem_get_link,
3301#ifdef CONFIG_TMPFS_XATTR 3298#ifdef CONFIG_TMPFS_XATTR
3302 .setxattr = generic_setxattr,
3303 .getxattr = generic_getxattr,
3304 .listxattr = shmem_listxattr, 3299 .listxattr = shmem_listxattr,
3305 .removexattr = generic_removexattr,
3306#endif 3300#endif
3307}; 3301};
3308 3302
@@ -3796,10 +3790,7 @@ static const struct inode_operations shmem_inode_operations = {
3796 .getattr = shmem_getattr, 3790 .getattr = shmem_getattr,
3797 .setattr = shmem_setattr, 3791 .setattr = shmem_setattr,
3798#ifdef CONFIG_TMPFS_XATTR 3792#ifdef CONFIG_TMPFS_XATTR
3799 .setxattr = generic_setxattr,
3800 .getxattr = generic_getxattr,
3801 .listxattr = shmem_listxattr, 3793 .listxattr = shmem_listxattr,
3802 .removexattr = generic_removexattr,
3803 .set_acl = simple_set_acl, 3794 .set_acl = simple_set_acl,
3804#endif 3795#endif
3805}; 3796};
@@ -3818,10 +3809,7 @@ static const struct inode_operations shmem_dir_inode_operations = {
3818 .tmpfile = shmem_tmpfile, 3809 .tmpfile = shmem_tmpfile,
3819#endif 3810#endif
3820#ifdef CONFIG_TMPFS_XATTR 3811#ifdef CONFIG_TMPFS_XATTR
3821 .setxattr = generic_setxattr,
3822 .getxattr = generic_getxattr,
3823 .listxattr = shmem_listxattr, 3812 .listxattr = shmem_listxattr,
3824 .removexattr = generic_removexattr,
3825#endif 3813#endif
3826#ifdef CONFIG_TMPFS_POSIX_ACL 3814#ifdef CONFIG_TMPFS_POSIX_ACL
3827 .setattr = shmem_setattr, 3815 .setattr = shmem_setattr,
@@ -3831,10 +3819,7 @@ static const struct inode_operations shmem_dir_inode_operations = {
3831 3819
3832static const struct inode_operations shmem_special_inode_operations = { 3820static const struct inode_operations shmem_special_inode_operations = {
3833#ifdef CONFIG_TMPFS_XATTR 3821#ifdef CONFIG_TMPFS_XATTR
3834 .setxattr = generic_setxattr,
3835 .getxattr = generic_getxattr,
3836 .listxattr = shmem_listxattr, 3822 .listxattr = shmem_listxattr,
3837 .removexattr = generic_removexattr,
3838#endif 3823#endif
3839#ifdef CONFIG_TMPFS_POSIX_ACL 3824#ifdef CONFIG_TMPFS_POSIX_ACL
3840 .setattr = shmem_setattr, 3825 .setattr = shmem_setattr,