jfs: Remove unnecessary code in jfs_get_acl
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 24 Mar 2016 13:38:36 +0000 (14:38 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 28 Mar 2016 17:49:39 +0000 (13:49 -0400)
commit8861964f4c7caecbacc89bcb6b513b40cf097a02
tree0bbc723dd7077519120bb58fde46ddf3a16f887b
parent7dffc87f2eea9f80889d2eb87bfbe63e51b9709c
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: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/jfs/acl.c