mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
acl: remove a slew of now unused helpers
Now that the posix acl api is active we can remove all the hacky helpers we had to keep around for all these years and also remove the set and get posix acl xattr handler methods as they aren't needed anymore. Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
This commit is contained in:
committed by
Christian Brauner (Microsoft)
parent
39a6497a9b
commit
0a26bde2c9
@@ -454,10 +454,7 @@ vfs_getxattr(struct user_namespace *mnt_userns, struct dentry *dentry,
|
||||
return ret;
|
||||
}
|
||||
nolsm:
|
||||
error = __vfs_getxattr(dentry, inode, name, value, size);
|
||||
if (error > 0 && is_posix_acl_xattr(name))
|
||||
posix_acl_getxattr_idmapped_mnt(mnt_userns, inode, value, size);
|
||||
return error;
|
||||
return __vfs_getxattr(dentry, inode, name, value, size);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(vfs_getxattr);
|
||||
|
||||
|
Reference in New Issue
Block a user