]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_io: make statx mask parsing more generally useful
authorDarrick J. Wong <djwong@kernel.org>
Thu, 24 Apr 2025 21:53:39 +0000 (14:53 -0700)
committerAndrey Albershteyn <aalbersh@kernel.org>
Mon, 28 Apr 2025 10:56:58 +0000 (12:56 +0200)
commitd6721943d6687fb4888a24ed79077e007f510869
tree251ae2cbd95cc0b5284e3f2782af3444a5baa423
parent077560c53953d0c5762535778f1b9e0dd050719a
xfs_io: make statx mask parsing more generally useful

Enhance the statx -m parsing to be more useful:

Add words for all the new STATX_* field flags added in the previous
patch.

Allow "+" and "-" prefixes to add or remove flags from the mask.

Allow multiple arguments to be specified as a comma separated list.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Andrey Albershteyn <aalbersh@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
io/stat.c
man/man8/xfs_io.8