diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-09-29 11:48:45 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-10-07 21:48:36 -0400 |
commit | fd50ecaddf8372a1d96e0daeaac0f93cf04e4d42 (patch) | |
tree | 2a7d258793534d8b67d6369d0659e5c5aac9cbb7 /fs/f2fs | |
parent | 41fefa36be0b3356b95ca665042fc54c2646a833 (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 'fs/f2fs')
-rw-r--r-- | fs/f2fs/file.c | 3 | ||||
-rw-r--r-- | fs/f2fs/namei.c | 12 |
2 files changed, 0 insertions, 15 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 28f4f4cbb8d8..2ebc4c79562c 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c | |||
@@ -732,10 +732,7 @@ const struct inode_operations f2fs_file_inode_operations = { | |||
732 | .get_acl = f2fs_get_acl, | 732 | .get_acl = f2fs_get_acl, |
733 | .set_acl = f2fs_set_acl, | 733 | .set_acl = f2fs_set_acl, |
734 | #ifdef CONFIG_F2FS_FS_XATTR | 734 | #ifdef CONFIG_F2FS_FS_XATTR |
735 | .setxattr = generic_setxattr, | ||
736 | .getxattr = generic_getxattr, | ||
737 | .listxattr = f2fs_listxattr, | 735 | .listxattr = f2fs_listxattr, |
738 | .removexattr = generic_removexattr, | ||
739 | #endif | 736 | #endif |
740 | .fiemap = f2fs_fiemap, | 737 | .fiemap = f2fs_fiemap, |
741 | }; | 738 | }; |
diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index 73fa356f8fbb..1c481c9dc088 100644 --- a/fs/f2fs/namei.c +++ b/fs/f2fs/namei.c | |||
@@ -1077,10 +1077,7 @@ const struct inode_operations f2fs_encrypted_symlink_inode_operations = { | |||
1077 | .getattr = f2fs_getattr, | 1077 | .getattr = f2fs_getattr, |
1078 | .setattr = f2fs_setattr, | 1078 | .setattr = f2fs_setattr, |
1079 | #ifdef CONFIG_F2FS_FS_XATTR | 1079 | #ifdef CONFIG_F2FS_FS_XATTR |
1080 | .setxattr = generic_setxattr, | ||
1081 | .getxattr = generic_getxattr, | ||
1082 | .listxattr = f2fs_listxattr, | 1080 | .listxattr = f2fs_listxattr, |
1083 | .removexattr = generic_removexattr, | ||
1084 | #endif | 1081 | #endif |
1085 | }; | 1082 | }; |
1086 | 1083 | ||
@@ -1100,10 +1097,7 @@ const struct inode_operations f2fs_dir_inode_operations = { | |||
1100 | .get_acl = f2fs_get_acl, | 1097 | .get_acl = f2fs_get_acl, |
1101 | .set_acl = f2fs_set_acl, | 1098 | .set_acl = f2fs_set_acl, |
1102 | #ifdef CONFIG_F2FS_FS_XATTR | 1099 | #ifdef CONFIG_F2FS_FS_XATTR |
1103 | .setxattr = generic_setxattr, | ||
1104 | .getxattr = generic_getxattr, | ||
1105 | .listxattr = f2fs_listxattr, | 1100 | .listxattr = f2fs_listxattr, |
1106 | .removexattr = generic_removexattr, | ||
1107 | #endif | 1101 | #endif |
1108 | }; | 1102 | }; |
1109 | 1103 | ||
@@ -1113,10 +1107,7 @@ const struct inode_operations f2fs_symlink_inode_operations = { | |||
1113 | .getattr = f2fs_getattr, | 1107 | .getattr = f2fs_getattr, |
1114 | .setattr = f2fs_setattr, | 1108 | .setattr = f2fs_setattr, |
1115 | #ifdef CONFIG_F2FS_FS_XATTR | 1109 | #ifdef CONFIG_F2FS_FS_XATTR |
1116 | .setxattr = generic_setxattr, | ||
1117 | .getxattr = generic_getxattr, | ||
1118 | .listxattr = f2fs_listxattr, | 1110 | .listxattr = f2fs_listxattr, |
1119 | .removexattr = generic_removexattr, | ||
1120 | #endif | 1111 | #endif |
1121 | }; | 1112 | }; |
1122 | 1113 | ||
@@ -1126,9 +1117,6 @@ const struct inode_operations f2fs_special_inode_operations = { | |||
1126 | .get_acl = f2fs_get_acl, | 1117 | .get_acl = f2fs_get_acl, |
1127 | .set_acl = f2fs_set_acl, | 1118 | .set_acl = f2fs_set_acl, |
1128 | #ifdef CONFIG_F2FS_FS_XATTR | 1119 | #ifdef CONFIG_F2FS_FS_XATTR |
1129 | .setxattr = generic_setxattr, | ||
1130 | .getxattr = generic_getxattr, | ||
1131 | .listxattr = f2fs_listxattr, | 1120 | .listxattr = f2fs_listxattr, |
1132 | .removexattr = generic_removexattr, | ||
1133 | #endif | 1121 | #endif |
1134 | }; | 1122 | }; |