summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_trans_priv.h
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2020-05-06 23:25:22 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2020-05-07 18:27:47 +0300
commitb707fffda6a3e1d0a46fceaa4c3f6c06b90f448a (patch)
tree0726782388ca879777c807c7546d0cffa338d799 /fs/xfs/xfs_trans_priv.h
parent629dcb38dc351947ed6a26a997d4b587f3bd5c7e (diff)
downloadlinux-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