ecryptfs: use stub posix acl handlers
authorChristian Brauner <brauner@kernel.org>
Thu, 22 Sep 2022 15:17:23 +0000 (17:17 +0200)
committerChristian Brauner (Microsoft) <brauner@kernel.org>
Thu, 20 Oct 2022 08:13:31 +0000 (10:13 +0200)
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>
fs/ecryptfs/inode.c

index 5802b93b2cda642770fdfe0c454bed0843bb2a07..f3cd00fac9c3aa3f9a717c2cddaec693293d0642 100644 (file)
@@ -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
 };