1
0
Fork 0

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>
hifive-unleashed-5.1
Christoph Hellwig 2018-03-13 23:15:27 -07:00 committed by Darrick J. Wong
parent 4f7aa2fd8c
commit 2b56c2857f
1 changed files with 2 additions and 2 deletions

View File

@ -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;