aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorTheodore Ts'o <[email protected]>2021-04-18 03:03:50 +0000
committerTheodore Ts'o <[email protected]>2021-04-18 03:03:50 +0000
commit5afa7e8b70d65819245fece61a65fd753b4aae33 (patch)
treedaf9ece96b42491f96e6f7a9157cd0779acd01c3 /fs/ext4/fast_commit.c
parentext4: allow the dax flag to be set and cleared on inline directories (diff)
downloadkernel-5afa7e8b70d65819245fece61a65fd753b4aae33.tar.gz
kernel-5afa7e8b70d65819245fece61a65fd753b4aae33.zip
fs: fix reporting supported extra file attributes for statx()
statx(2) notes that any attribute that is not indicated as supported by stx_attributes_mask has no usable value. Commits 801e523796004 ("fs: move generic stat response attr handling to vfs_getattr_nosec") and 712b2698e4c02 ("fs/stat: Define DAX statx attribute") sets STATX_ATTR_AUTOMOUNT and STATX_ATTR_DAX, respectively, without setting stx_attributes_mask, which can cause xfstests generic/532 to fail. Fix this in the same way as commit 1b9598c8fb99 ("xfs: fix reporting supported extra file attributes for statx()") Fixes: 801e523796004 ("fs: move generic stat response attr handling to vfs_getattr_nosec") Fixes: 712b2698e4c02 ("fs/stat: Define DAX statx attribute") Cc: [email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions