]> www.infradead.org Git - users/dwmw2/linux.git/commit
xfs: allow bulkstat to return metadata directories
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:18:54 +0000 (20:18 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:32 +0000 (13:38 -0800)
commitdf866c538ff098baa210b407b822818a415a6e7e
tree1924d2ff8a19b3f8b85fab0db23b681a21c73858
parent688828d8f8cdf8b1b917de938a1ce86a93fdbba9
xfs: allow bulkstat to return metadata directories

Allow the V5 bulkstat ioctl to return information about metadata
directory files so that xfs_scrub can find and scrub them, since they
are otherwise ordinary directories.

(Metadata files of course require per-file scrub code and hence do not
need exposure.)

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_fs.h
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_itable.c
fs/xfs/xfs_itable.h