]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: Fix error path in xfs_get_acl
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 9 Nov 2015 23:09:45 +0000 (10:09 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 9 Nov 2015 23:09:45 +0000 (10:09 +1100)
commit641a71ba695aa005ebb3ac0fd5c2e1cfd936e9bd
tree4a5a01b0f38928b47f304dcfc564e3bb3c719440
parentf2fd6b19403e4b1f8eb30106ef14cbe82ec42b0a
xfs: Fix error path in xfs_get_acl

Error codes from xfs_attr_get other than -ENOATTR were not properly
reported.  Fix that.

In addition, the declaration of struct xfs_inode in xfs_acl.h isn't needed.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_acl.c
fs/xfs/xfs_acl.h