diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-06-22 09:51:43 +0800 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2018-07-24 20:02:11 +0200 |
commit | 910f3d58d0d40691534b77cc01588ffa22ee7dee (patch) | |
tree | 21b091811e336ceea65f51f690eef4a1361a3de2 /fs/gfs2/file.c | |
parent | e79e0e1428188b24c3b57309ffa54a33c4ae40c4 (diff) | |
download | linux-stable-910f3d58d0d40691534b77cc01588ffa22ee7dee.tar.gz linux-stable-910f3d58d0d40691534b77cc01588ffa22ee7dee.tar.bz2 linux-stable-910f3d58d0d40691534b77cc01588ffa22ee7dee.zip |
gfs2: using posix_acl_xattr_size instead of posix_acl_to_xattr
It seems better to get size by calling posix_acl_xattr_size() instead of
calling posix_acl_to_xattr() with NULL buffer argument.
posix_acl_xattr_size() never returns 0, so remove the unnecessary check.
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/file.c')
0 files changed, 0 insertions, 0 deletions