]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove the XLOG_STATE_DO_CALLBACK state
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Oct 2019 17:36:43 +0000 (10:36 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 16:04:58 +0000 (09:04 -0700)
commit5615edaaf17eb839dc6976a492f7cf702283bce2
tree65987ab04fb93f02056914dc2e8f504bcfba5d71
parentdf9dfce42bb521b1a299273b4a737232d3e76f03
xfs: remove the XLOG_STATE_DO_CALLBACK state

XLOG_STATE_DO_CALLBACK is only entered through XLOG_STATE_DONE_SYNC
and just used in a single debug check.  Remove the flag and thus
simplify the calling conventions for xlog_state_do_callback and
xlog_state_iodone_process_iclog.

Signed-off-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>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_priv.h