summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_extent_busy.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-03-14 09:15:28 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2018-03-14 21:12:52 +0300
commit60e5bb7844ec75a2f54ea76d8ceec5c79172ce7e (patch)
treeba0e950311de02c6d6585a9941c3f7a8ba1f22e2 /fs/xfs/xfs_extent_busy.c
parent2b56c2857fde3c7f74174dd2fe3d7b8833d82744 (diff)
downloadlinux-60e5bb7844ec75a2f54ea76d8ceec5c79172ce7e.tar.xz
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/xfs_extent_busy.c')
-rw-r--r--fs/xfs/xfs_extent_busy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_extent_busy.c b/fs/xfs/xfs_extent_busy.c
index 1b439db95634..13e3d1a69e76 100644
--- a/fs/xfs/xfs_extent_busy.c
+++ b/fs/xfs/xfs_extent_busy.c
@@ -613,8 +613,7 @@ xfs_extent_busy_flush(
DEFINE_WAIT (wait);
int error;
- trace_xfs_log_force(mp, 0, _THIS_IP_);
- error = _xfs_log_force(mp, XFS_LOG_SYNC, NULL);
+ error = xfs_log_force(mp, XFS_LOG_SYNC);
if (error)
return;