]> www.infradead.org Git - users/dwmw2/linux.git/commit
xfs: error out when a superblock buffer update reduces the agcount
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Oct 2024 06:04:53 +0000 (08:04 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 22 Oct 2024 11:37:18 +0000 (13:37 +0200)
commitb882b0f8138ffa935834e775953f1630f89bbb62
tree5ff50966688ec22acb5947dfbb5b23d816ccd8da
parent6a18765b54e2e52aebcdb84c3b4f4d1f7cb2c0ca
xfs: error out when a superblock buffer update reduces the agcount

XFS currently does not support reducing the agcount, so error out if
a logged sb buffer tries to shrink the agcount.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_buf_item_recover.c