提交 08474ed6 编写于 作者: M Mark Tinguely 提交者: Ben Myers

xfs: remove dead code from xlog_recover_inode_pass2

Additional code in the error handler of xlog_recover_inode_pass2()
results in the following error:

static checker warning: "fs/xfs/xfs_log_recover.c:2999
xlog_recover_inode_pass2()
	 info: ignoring unreachable code."
Reported-by: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NMark Tinguely <tinguely@sgi.com>
Reviewed-by: Ben Myers <bpm@sgi.com
Signed-off-by: NBen Myers <bpm@sgi.com>
上级 aa9e1040
......@@ -2995,9 +2995,6 @@ xlog_recover_inode_pass2(
if (need_free)
kmem_free(in_f);
return XFS_ERROR(error);
xfs_buf_relse(bp);
goto error;
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册