diff options
author | Brian Foster <bfoster@redhat.com> | 2020-05-06 23:25:22 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-05-07 18:27:47 +0300 |
commit | b707fffda6a3e1d0a46fceaa4c3f6c06b90f448a (patch) | |
tree | 0726782388ca879777c807c7546d0cffa338d799 /fs/xfs/xfs_trans_priv.h | |
parent | 629dcb38dc351947ed6a26a997d4b587f3bd5c7e (diff) | |
download | linux-b707fffda6a3e1d0a46fceaa4c3f6c06b90f448a.tar.xz |
xfs: abort consistently on dquot flush failure
The dquot flush handler effectively aborts the dquot flush if the
filesystem is already shut down, but doesn't actually shut down if
the flush fails. Update xfs_qm_dqflush() to consistently abort the
dquot flush and shutdown the fs if the flush fails with an
unexpected error.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Allison Collins <allison.henderson@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_trans_priv.h')
0 files changed, 0 insertions, 0 deletions