diff options
author | Mark Tinguely <tinguely@sgi.com> | 2013-09-12 09:01:23 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-09-12 09:51:49 -0500 |
commit | 08474ed639e971e9d5a877cf7aba7ef91d847ae9 (patch) | |
tree | 519d3f7285658a8f03ce79583b3d33d158a2a10f /fs/xfs/xfs_log_recover.c | |
parent | aa9e10409eae9dd61a336c6307d0a0b538063970 (diff) | |
download | lwn-08474ed639e971e9d5a877cf7aba7ef91d847ae9.tar.gz lwn-08474ed639e971e9d5a877cf7aba7ef91d847ae9.zip |
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/xfs_log_recover.c')
-rw-r--r-- | fs/xfs/xfs_log_recover.c | 3 |
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; } /* |