Commit 08474ed6 authored by Mark Tinguely's avatar Mark Tinguely Committed by 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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMark Tinguely <tinguely@sgi.com>
Reviewed-by: Ben Myers <bpm@sgi.com
Signed-off-by: default avatarBen Myers <bpm@sgi.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment