Brian Foster 854f82b1f6 xfs: factor out quotaoff intent AIL removal and memory free
AIL removal of the quotaoff start intent and free of both intents is
hardcoded to the ->iop_committed() handler of the end intent. Factor
out the start intent handling code so it can be used in a future
patch to properly handle quotaoff errors. Use xfs_trans_ail_remove()
instead of the _delete() variant to acquire the AIL lock and also
handle cases where an intent might not reside in the AIL at the
time of a failure.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2020-03-18 08:12:23 -07:00
..
2019-11-10 10:21:57 -08:00
2019-11-18 08:40:44 -08:00
2018-06-06 14:17:53 -07:00
2020-03-02 20:55:55 -08:00
2019-10-28 08:37:54 -07:00
2020-03-11 09:11:39 -07:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2020-03-11 09:11:39 -07:00
2020-03-13 10:37:15 -07:00
2020-03-11 09:11:39 -07:00
2019-07-03 08:21:58 -07:00
2019-07-03 08:21:58 -07:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2020-03-11 09:11:39 -07:00