]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: shut down the filesystem if we screw up quota reservation
authorDarrick J. Wong <djwong@kernel.org>
Fri, 29 Jan 2021 23:44:32 +0000 (15:44 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 3 Feb 2021 17:18:49 +0000 (09:18 -0800)
commitf0282941741ecb2fce8546979e0946df9cd940b8
treedc441a3b893d4d85533541bcae3c5d2a7f7aa5e2
parent88119d8f277f76aff22d5d7f03b93a88920891ce
xfs: shut down the filesystem if we screw up quota reservation

If we ever screw up the quota reservations enough to trip the
assertions, something's wrong with the quota code.  Shut down the
filesystem when this happens, because this is corruption.

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