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 /fs/gfs2/glops.h | |
parent | gfs2: Fix a harmless typo (diff) | |
download | linux-b16f7e57b7811d5c60ef1858bd92339be28359bf.tar.xz linux-b16f7e57b7811d5c60ef1858bd92339be28359bf.zip |
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 'fs/gfs2/glops.h')
0 files changed, 0 insertions, 0 deletions