mirror of
https://github.com/adulau/aha.git
synced 2025-01-04 23:23:18 +00:00
[2.6 patch] ocfs2_insert_extent(): remove dead code
This patch removes some now dead code. Spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
This commit is contained in:
parent
5a25403175
commit
6a18380e7d
1 changed files with 0 additions and 4 deletions
|
@ -3731,7 +3731,6 @@ int ocfs2_insert_extent(struct ocfs2_super *osb,
|
||||||
{
|
{
|
||||||
int status;
|
int status;
|
||||||
struct buffer_head *last_eb_bh = NULL;
|
struct buffer_head *last_eb_bh = NULL;
|
||||||
struct buffer_head *bh = NULL;
|
|
||||||
struct ocfs2_insert_type insert = {0, };
|
struct ocfs2_insert_type insert = {0, };
|
||||||
struct ocfs2_extent_rec rec;
|
struct ocfs2_extent_rec rec;
|
||||||
|
|
||||||
|
@ -3783,9 +3782,6 @@ int ocfs2_insert_extent(struct ocfs2_super *osb,
|
||||||
ocfs2_extent_map_insert_rec(inode, &rec);
|
ocfs2_extent_map_insert_rec(inode, &rec);
|
||||||
|
|
||||||
bail:
|
bail:
|
||||||
if (bh)
|
|
||||||
brelse(bh);
|
|
||||||
|
|
||||||
if (last_eb_bh)
|
if (last_eb_bh)
|
||||||
brelse(last_eb_bh);
|
brelse(last_eb_bh);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue