aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-16 21:05:04 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:50 -0700
commit6a00b013856cd261b0a62de6cc0dac5628647bc9 (patch)
tree6408bec03dabf2e2938e7f738cb1c36a94051d18 /module
parent0f158529811c2589449b620ca043c2c43c341c16 (diff)
config: remove HAVE_GENERIC_SETXATTR
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16479
Diffstat (limited to 'module')
-rw-r--r--module/os/linux/zfs/zpl_inode.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/module/os/linux/zfs/zpl_inode.c b/module/os/linux/zfs/zpl_inode.c
index 9d9c49d18..ed2e3b325 100644
--- a/module/os/linux/zfs/zpl_inode.c
+++ b/module/os/linux/zfs/zpl_inode.c
@@ -737,11 +737,6 @@ out:
const struct inode_operations zpl_inode_operations = {
.setattr = zpl_setattr,
.getattr = zpl_getattr,
-#ifdef HAVE_GENERIC_SETXATTR
- .setxattr = generic_setxattr,
- .getxattr = generic_getxattr,
- .removexattr = generic_removexattr,
-#endif
.listxattr = zpl_xattr_list,
#if defined(CONFIG_FS_POSIX_ACL)
.set_acl = zpl_set_acl,
@@ -776,11 +771,6 @@ const struct inode_operations zpl_dir_inode_operations = {
#endif
.setattr = zpl_setattr,
.getattr = zpl_getattr,
-#ifdef HAVE_GENERIC_SETXATTR
- .setxattr = generic_setxattr,
- .getxattr = generic_getxattr,
- .removexattr = generic_removexattr,
-#endif
.listxattr = zpl_xattr_list,
#if defined(CONFIG_FS_POSIX_ACL)
.set_acl = zpl_set_acl,
@@ -799,22 +789,12 @@ const struct inode_operations zpl_symlink_inode_operations = {
.get_link = zpl_get_link,
.setattr = zpl_setattr,
.getattr = zpl_getattr,
-#ifdef HAVE_GENERIC_SETXATTR
- .setxattr = generic_setxattr,
- .getxattr = generic_getxattr,
- .removexattr = generic_removexattr,
-#endif
.listxattr = zpl_xattr_list,
};
const struct inode_operations zpl_special_inode_operations = {
.setattr = zpl_setattr,
.getattr = zpl_getattr,
-#ifdef HAVE_GENERIC_SETXATTR
- .setxattr = generic_setxattr,
- .getxattr = generic_getxattr,
- .removexattr = generic_removexattr,
-#endif
.listxattr = zpl_xattr_list,
#if defined(CONFIG_FS_POSIX_ACL)
.set_acl = zpl_set_acl,