summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_extent_busy.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-03-13 23:15:27 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-03-14 11:12:52 -0700
commit2b56c2857fde3c7f74174dd2fe3d7b8833d82744 (patch)
treec5fd5afccb7d002f8ed3f0e3dcad46334c71e62b /fs/xfs/xfs_extent_busy.c
parent4f7aa2fd8c94d621e62131f3d6506a88ad9b0926 (diff)
xfs: remove the unused log_flushed variable in xfs_extent_busy_flush
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_extent_busy.c b/fs/xfs/xfs_extent_busy.c
index 77760dbf0242..1b439db95634 100644
--- a/fs/xfs/xfs_extent_busy.c
+++ b/fs/xfs/xfs_extent_busy.c
@@ -611,10 +611,10 @@ xfs_extent_busy_flush(
unsigned busy_gen)
{
DEFINE_WAIT (wait);
- int log_flushed = 0, error;
+ int error;
trace_xfs_log_force(mp, 0, _THIS_IP_);
- error = _xfs_log_force(mp, XFS_LOG_SYNC, &log_flushed);
+ error = _xfs_log_force(mp, XFS_LOG_SYNC, NULL);
if (error)
return;