]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: return -ENOENT when trying to scrub non-existing rtgroup xfs-per-rtg-bitmap-rebase
authorChristoph Hellwig <hch@lst.de>
Sun, 4 Aug 2024 09:51:16 +0000 (11:51 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 6 Aug 2024 13:05:17 +0000 (06:05 -0700)
commita6af886fd0b4ff036a3e9fcc4b9cb0b8db41a36c
tree226bc2ff74938e929cd44fe2a05af18766b41b91
parent7849423fe2d6e2bc888eac44b644c0e30965dedd
xfs: return -ENOENT when trying to scrub non-existing rtgroup

Provide a fallback for scrub code trying to scrub RTG 0 when it doesn't
actually exist for a file system with the RTGROUPS feature bit, but without
any RT extents.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/scrub.c