]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit580806255bd1638eae5172a5ef67843d1d4b89b9
tree0bbc723dd7077519120bb58fde46ddf3a16f887b
parent58431442c7a5cd4320e1768d338e1adea29e7cdb
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