aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYouling Tang <[email protected]>2024-08-15 16:57:43 +0800
committerKent Overstreet <[email protected]>2024-09-09 09:41:49 -0400
commitd3f30f16294cc8e58ef14f934874ed7b3ec15b71 (patch)
tree377f0fccea4a2d4908cfe663aa589ebaa37c6b85
parent5935bf3341b82bc76f1d816842273c06615aa727 (diff)
bcachefs: drop unused posix acl handlers
Remove struct nop_posix_acl_{access,default} for bcachefs filesystem that don't depend on the xattr handler in their inode->i_op->listxattr() method in any way. There's nothing more to do than to simply remove the handler. It's been effectively unused ever since we introduced the new posix acl api. See [1] for details. Link [1]: https://patchwork.kernel.org/project/linux-fsdevel/cover/20230125-fs-acl-remove-generic-xattr-handlers-v3-0-f760cc58967d@kernel.org/ Signed-off-by: Youling Tang <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
-rw-r--r--fs/bcachefs/xattr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/bcachefs/xattr.c b/fs/bcachefs/xattr.c
index 9f810fb36ba1..7b3d9fdae244 100644
--- a/fs/bcachefs/xattr.c
+++ b/fs/bcachefs/xattr.c
@@ -601,10 +601,6 @@ static const struct xattr_handler bch_xattr_bcachefs_effective_handler = {
const struct xattr_handler *bch2_xattr_handlers[] = {
&bch_xattr_user_handler,
-#ifdef CONFIG_BCACHEFS_POSIX_ACL
- &nop_posix_acl_access,
- &nop_posix_acl_default,
-#endif
&bch_xattr_trusted_handler,
&bch_xattr_security_handler,
#ifndef NO_BCACHEFS_FS