Commit 2b56c285 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Darrick J. Wong

xfs: remove the unused log_flushed variable in xfs_extent_busy_flush

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent 4f7aa2fd
...@@ -611,10 +611,10 @@ xfs_extent_busy_flush( ...@@ -611,10 +611,10 @@ xfs_extent_busy_flush(
unsigned busy_gen) unsigned busy_gen)
{ {
DEFINE_WAIT (wait); DEFINE_WAIT (wait);
int log_flushed = 0, error; int error;
trace_xfs_log_force(mp, 0, _THIS_IP_); 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) if (error)
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment