summaryrefslogtreecommitdiff
path: root/fs/splice.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2017-10-09 16:15:30 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2017-10-31 14:26:57 +0100
commitb16f7e57b7811d5c60ef1858bd92339be28359bf (patch)
treeb274da6550404d162202afba2b62c6da6a63d460 /fs/splice.c
parent61d6899ad4268b6d95187053740fcb17a0d31632 (diff)
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/splice.c')
0 files changed, 0 insertions, 0 deletions