]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
attr: adjust acl_max of f2fs if inline_xattr is set
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 5 Apr 2016 01:48:46 +0000 (11:48 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 5 Apr 2016 01:48:46 +0000 (11:48 +1000)
commit829b475f541580e9dd17da0023b9db67263753c4
treeab847c5864fc9c91124a8e3b04e43b7765e3a882
parent3e026f5937c68722f7d30fc63fa4529e43f3d0b8
attr: adjust acl_max of f2fs if inline_xattr is set

If f2fs gets inline_xattr, it enlarges the whole xattr space, which also enables
to cover more acl entries up to 531 from 506.
This patch detects the mount option, inline_xattr, and changes the result of
_acl_get_max for generic/026.

Fixes: 9f7bf79d0c34 ("attr: add maximum acl count for f2fs")
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/attr