提交 bbe4c668 编写于 作者: E Eric Sandeen 提交者: Dave Chinner

xfs: remove unused trans pointer arg from xlog_recover_unmount_trans()

Signed-off-by: NEric Sandeen <sandeen@redhat.com>
Reviewed-by: NDave Chinner <dchinner@redhat.com>
Signed-off-by: NDave Chinner <david@fromorbit.com>
上级 e4a1e29c
...@@ -3520,8 +3520,7 @@ xlog_recover_commit_trans( ...@@ -3520,8 +3520,7 @@ xlog_recover_commit_trans(
STATIC int STATIC int
xlog_recover_unmount_trans( xlog_recover_unmount_trans(
struct xlog *log, struct xlog *log)
struct xlog_recover *trans)
{ {
/* Do nothing now */ /* Do nothing now */
xfs_warn(log->l_mp, "%s: Unmount LR", __func__); xfs_warn(log->l_mp, "%s: Unmount LR", __func__);
...@@ -3595,7 +3594,7 @@ xlog_recover_process_data( ...@@ -3595,7 +3594,7 @@ xlog_recover_process_data(
trans, pass); trans, pass);
break; break;
case XLOG_UNMOUNT_TRANS: case XLOG_UNMOUNT_TRANS:
error = xlog_recover_unmount_trans(log, trans); error = xlog_recover_unmount_trans(log);
break; break;
case XLOG_WAS_CONT_TRANS: case XLOG_WAS_CONT_TRANS:
error = xlog_recover_add_to_cont_trans(log, error = xlog_recover_add_to_cont_trans(log,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册