xfs: refactor xlog_state_clean_iclog
authorChristoph Hellwig <hch@lst.de>
Fri, 20 Mar 2020 15:49:20 +0000 (08:49 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 23 Mar 2020 15:27:59 +0000 (08:27 -0700)
commitc814b4f24ebacafb889e7975cb4a7136a5306921
tree3ac003a78c4175f72449a566a1aad5fb9d318f13
parent12e6a0f449d585beb92f523367586055e328faae
xfs: refactor xlog_state_clean_iclog

Factor out a few self-contained helpers from xlog_state_clean_iclog, and
update the documentation so it primarily documents why things happens
instead of how.

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/xfs_log.c