mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-04-29 12:28:27 +02:00
5afa7e8b70
statx(2) notes that any attribute that is not indicated as supported by stx_attributes_mask has no usable value. Commits801e523796("fs: move generic stat response attr handling to vfs_getattr_nosec") and712b2698e4("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 commit1b9598c8fb("xfs: fix reporting supported extra file attributes for statx()") Fixes:801e523796("fs: move generic stat response attr handling to vfs_getattr_nosec") Fixes:712b2698e4("fs/stat: Define DAX statx attribute") Cc: stable@kernel.org Signed-off-by: Theodore Ts'o <tytso@mit.edu>
21 KiB
21 KiB