summaryrefslogtreecommitdiff
path: root/fs/ecryptfs
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2022-09-22 18:17:23 +0300
committerChristian Brauner (Microsoft) <brauner@kernel.org>2022-10-20 11:13:31 +0300
commit04af28faae6760514f0302aa9db561e60ee53a20 (patch)
tree0aa9412dc409dffbe4e1c2bd320e251912ed872a /fs/ecryptfs
parente10796b87e1d1bad593c89c5e8cc2e0992bd1335 (diff)
downloadlinux-04af28faae6760514f0302aa9db561e60ee53a20.tar.xz
ecryptfs: use stub posix acl handlers
Now that ecryptfs supports the get and set acl inode operations and the vfs has been switched to the new posi api, ecryptfs can simply rely on the stub posix acl handlers. Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Diffstat (limited to 'fs/ecryptfs')
-rw-r--r--fs/ecryptfs/inode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c
index 5802b93b2cda..f3cd00fac9c3 100644
--- a/fs/ecryptfs/inode.c
+++ b/fs/ecryptfs/inode.c
@@ -1210,6 +1210,10 @@ static const struct xattr_handler ecryptfs_xattr_handler = {
};
const struct xattr_handler *ecryptfs_xattr_handlers[] = {
+#ifdef CONFIG_FS_POSIX_ACL
+ &posix_acl_access_xattr_handler,
+ &posix_acl_default_xattr_handler,
+#endif
&ecryptfs_xattr_handler,
NULL
};