]> asedeno.scripts.mit.edu Git - linux.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)
commit4b29ab04ab0d1856b4efb2d28096352d12e807b3
tree65987ab04fb93f02056914dc2e8f504bcfba5d71
parent1858bb0bec612df1bff11e982c5114ac398b0741
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