xfs: refactor xfs_defer_finish_noroll
authorChristoph Hellwig <hch@lst.de>
Thu, 30 Apr 2020 19:52:21 +0000 (12:52 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 4 May 2020 16:03:17 +0000 (09:03 -0700)
commitbb47d79750f1a68a75d4c7defc2da934ba31de14
treeae3740f94d3c30d651cd73275ee272d3108544a9
parent13a8333339072b8654c1d2c75550ee9f41ee15de
xfs: refactor xfs_defer_finish_noroll

Split out a helper that operates on a single xfs_defer_pending structure
to untangle the code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-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>
fs/xfs/libxfs/xfs_defer.c