Commit 8861964f authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Al Viro

jfs: Remove unnecessary code in jfs_get_acl

The get_acl inode operation is called only when no ACL is cached.  It
makes no sense to check for a cached ACL as the first thing inside such
inode operations.
Signed-off-by: default avatarAndreas Gruenbacher <>
Signed-off-by: default avatarAl Viro <>
parent 7dffc87f
......@@ -34,10 +34,6 @@ struct posix_acl *jfs_get_acl(struct inode *inode, int type)
int size;
char *value = NULL;
acl = get_cached_acl(inode, type);
if (acl != ACL_NOT_CACHED)
return acl;
switch(type) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment