提交 2b56c285 编写于 作者: C Christoph Hellwig 提交者: Darrick J. Wong

xfs: remove the unused log_flushed variable in xfs_extent_busy_flush

Signed-off-by: NChristoph Hellwig <hch@lst.de>
Reviewed-by: NDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com>
上级 4f7aa2fd
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册