summaryrefslogtreecommitdiffstats
path: root/fs/xfs
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
parent4f7aa2fd8c94d621e62131f3d6506a88ad9b0926 (diff)
downloadlinux-0-day-2b56c2857fde3c7f74174dd2fe3d7b8833d82744.tar.gz
linux-0-day-2b56c2857fde3c7f74174dd2fe3d7b8833d82744.tar.xz
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')
-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 77760dbf0242e..1b439db95634b 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;