diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2017-10-09 16:15:30 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2017-10-31 14:26:57 +0100 |
commit | b16f7e57b7811d5c60ef1858bd92339be28359bf (patch) | |
tree | b274da6550404d162202afba2b62c6da6a63d460 /tools/arch/powerpc | |
parent | 61d6899ad4268b6d95187053740fcb17a0d31632 (diff) | |
download | linux-b16f7e57b7811d5c60ef1858bd92339be28359bf.tar.bz2 |
gfs2: Fix and clean up {GET,SET}FLAGS ioctl
Switch to a simple array for mapping between the FS_*_FL and GFS_DIF_*
flags. Clarify how the mapping between FS_JOURNAL_DATA_FL and the
filesystem flags works. The GFS2_DIF_SYSTEM flag cannot be set from
user space, so remove it from GFS2_FLAGS_USER_SET. Fail with -EINVAL
when trying to set flags that are not supported instead of silently
ignoring those flags.
Partially fixes xfstest generic/424.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Andrew Price <anprice@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'tools/arch/powerpc')
0 files changed, 0 insertions, 0 deletions