]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: shut the file system down on corrupted used counter xfs-zoned-2024-20-23
authorChristoph Hellwig <hch@lst.de>
Sat, 19 Oct 2024 12:23:05 +0000 (14:23 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 23 Oct 2024 05:10:55 +0000 (07:10 +0200)
commit35e259ac82d3a13a56c67e3b380a744ef35b763b
tree4c8a44882aefbd188f49d4e31d40143dde0bb306
parente07e1679a71fb1ada80c1077f6101a8d288ae953
xfs: shut the file system down on corrupted used counter

If a free is trying to free more blocks than the used counter the file
system is clearly corrupted so shut it down.  Keep the debug only assert
to follow the (good?) old XFS tradition of panicing on corruption for
debug builds.

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