diff options
author | Christoph Hellwig <hch@lst.de> | 2018-03-14 07:15:28 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-03-14 19:12:52 +0100 |
commit | 60e5bb7844ec75a2f54ea76d8ceec5c79172ce7e (patch) | |
tree | ba0e950311de02c6d6585a9941c3f7a8ba1f22e2 /fs/xfs/scrub/common.c | |
parent | xfs: remove the unused log_flushed variable in xfs_extent_busy_flush (diff) | |
download | linux-60e5bb7844ec75a2f54ea76d8ceec5c79172ce7e.tar.xz linux-60e5bb7844ec75a2f54ea76d8ceec5c79172ce7e.zip |
xfs: merge _xfs_log_force and xfs_log_force
Switch to a single interface for flushing the whole log, which gives
consistent trace point coverage, and removes the unused log_flushed
argument for the previous _xfs_log_force callers.
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>
Diffstat (limited to 'fs/xfs/scrub/common.c')
-rw-r--r-- | fs/xfs/scrub/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/common.c b/fs/xfs/scrub/common.c index 8033ab9d8f47..ddcdda336402 100644 --- a/fs/xfs/scrub/common.c +++ b/fs/xfs/scrub/common.c @@ -619,7 +619,7 @@ xfs_scrub_checkpoint_log( { int error; - error = _xfs_log_force(mp, XFS_LOG_SYNC, NULL); + error = xfs_log_force(mp, XFS_LOG_SYNC); if (error) return error; xfs_ail_push_all_sync(mp->m_ail); |