]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_io: allow foreign FSes to show FS_IOC_FSGETXATTR details
authorOjaswin Mujoo <ojaswin@linux.ibm.com>
Thu, 19 Dec 2024 12:39:14 +0000 (18:09 +0530)
committerAndrey Albershteyn <aalbersh@kernel.org>
Wed, 25 Dec 2024 21:14:45 +0000 (22:14 +0100)
commite6b48f451a5d99fac9a08d5b2684f26de8e25e1b
tree752bc4ce8142d78f7d18a0b72d2e7d74fa2b84b4
parent1ea8166cdd7468a8fcfdfcc5d9de51744cce0fe2
xfs_io: allow foreign FSes to show FS_IOC_FSGETXATTR details

Currently with stat we only show FS_IOC_FSGETXATTR details if the
filesystem is XFS. With extsize support also coming to ext4 and possibly
other filesystems, make sure to allow foreign FSes to display these details
when "stat" or "statx" is used.

(Thanks to Dave for suggesting implementation of print_extended_info())

Suggested-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
io/stat.c