summaryrefslogtreecommitdiff
path: root/fs/xfs
diff options
context:
space:
mode:
authorMark Tinguely <tinguely@sgi.com>2013-09-12 09:01:23 -0500
committerBen Myers <bpm@sgi.com>2013-09-12 09:51:49 -0500
commit08474ed639e971e9d5a877cf7aba7ef91d847ae9 (patch)
tree519d3f7285658a8f03ce79583b3d33d158a2a10f /fs/xfs
parentaa9e10409eae9dd61a336c6307d0a0b538063970 (diff)
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: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Tinguely <tinguely@sgi.com> Reviewed-by: Ben Myers <bpm@sgi.com Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_log_recover.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index 1c3b0c9c9aac..dabda9521b4b 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -2995,9 +2995,6 @@ error:
if (need_free)
kmem_free(in_f);
return XFS_ERROR(error);
-
- xfs_buf_relse(bp);
- goto error;
}
/*