summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_extent_busy.c
diff options
context:
space:
mode:
authorChristoph Hellwig2018-03-14 07:15:27 +0100
committerDarrick J. Wong2018-03-14 19:12:52 +0100
commit2b56c2857fde3c7f74174dd2fe3d7b8833d82744 (patch)
treec5fd5afccb7d002f8ed3f0e3dcad46334c71e62b /fs/xfs/xfs_extent_busy.c
parentxfs: remove an outdated comment for xfs_inode_item_committing (diff)
downloadkernel-qcow2-linux-2b56c2857fde3c7f74174dd2fe3d7b8833d82744.tar.gz
kernel-qcow2-linux-2b56c2857fde3c7f74174dd2fe3d7b8833d82744.tar.xz
kernel-qcow2-linux-2b56c2857fde3c7f74174dd2fe3d7b8833d82744.zip
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;