]> 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)
commit3bbe7ad36215011fbb79fac4703057233ce53ffe
treedc441a3b893d4d85533541bcae3c5d2a7f7aa5e2
parent56ae9113748b19e769f0aa6da998d6a8de21397a
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