diff options
author | Dave Chinner <dchinner@redhat.com> | 2016-02-29 22:41:33 (GMT) |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-29 22:41:33 (GMT) |
commit | e8897529053d05f5bd677706ba6807fc2f2b942c (patch) | |
tree | b99bc6ff7ed9dbb1df73e06e9c373fe4fd8f7bec /fs/btrfs/print-tree.h | |
parent | 36f90b0a2ddd60823fe193a85e60ff1906c2a9b3 (diff) | |
download | linux-e8897529053d05f5bd677706ba6807fc2f2b942c.tar.xz |
xfs: XFS_DIFLAG_DAX is only for regular files or directories
Only file data can use DAX, so we should onyl be able to set this
flag on regular files. However, the flag also serves as an "inherit"
flag at file create time when set on directories, so limit the
FS_IOC_FSSETXATTR ioctl to only set this flag on regular files and
directories.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Tested-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/btrfs/print-tree.h')
0 files changed, 0 insertions, 0 deletions