diff options
author | Christian Brauner <brauner@kernel.org> | 2023-02-01 14:14:55 +0100 |
---|---|---|
committer | Christian Brauner (Microsoft) <brauner@kernel.org> | 2023-03-06 09:57:12 +0100 |
commit | 0c95c025a02e477b2d112350e1c78bb0cc994c51 (patch) | |
tree | fa899d977253b8e1a2a0f3b90d9e8093b027d9dd /fs/overlayfs | |
parent | 831be973aa21d1cf8948bf4b1d4e73e6d5d028c0 (diff) | |
download | linux-0c95c025a02e477b2d112350e1c78bb0cc994c51.tar.gz linux-0c95c025a02e477b2d112350e1c78bb0cc994c51.tar.bz2 linux-0c95c025a02e477b2d112350e1c78bb0cc994c51.zip |
fs: drop unused posix acl handlers
Remove struct posix_acl_{access,default}_handler for all filesystems
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.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Diffstat (limited to 'fs/overlayfs')
-rw-r--r-- | fs/overlayfs/super.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c index f1d9f75f8786..f97ad8b40dbb 100644 --- a/fs/overlayfs/super.c +++ b/fs/overlayfs/super.c @@ -1055,20 +1055,12 @@ static const struct xattr_handler ovl_other_xattr_handler = { }; static const struct xattr_handler *ovl_trusted_xattr_handlers[] = { -#ifdef CONFIG_FS_POSIX_ACL - &posix_acl_access_xattr_handler, - &posix_acl_default_xattr_handler, -#endif &ovl_own_trusted_xattr_handler, &ovl_other_xattr_handler, NULL }; static const struct xattr_handler *ovl_user_xattr_handlers[] = { -#ifdef CONFIG_FS_POSIX_ACL - &posix_acl_access_xattr_handler, - &posix_acl_default_xattr_handler, -#endif &ovl_own_user_xattr_handler, &ovl_other_xattr_handler, NULL |