projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a25403
)
[2.6 patch] ocfs2_insert_extent(): remove dead code
author
Adrian Bunk
<bunk@stusta.de>
Mon, 23 Jul 2007 08:01:21 +0000
(10:01 +0200)
committer
Mark Fasheh
<mark.fasheh@oracle.com>
Fri, 10 Aug 2007 00:26:03 +0000
(17:26 -0700)
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>
fs/ocfs2/alloc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/alloc.c
b/fs/ocfs2/alloc.c
index f5e11f4fa952a424a5259d766a03c1d449c8ec31..4f517665c9a0e4b187985a7c7d745c8ae4ddcc91 100644
(file)
--- a/
fs/ocfs2/alloc.c
+++ b/
fs/ocfs2/alloc.c
@@
-3731,7
+3731,6
@@
int ocfs2_insert_extent(struct ocfs2_super *osb,
{
int status;
struct buffer_head *last_eb_bh = NULL;
- struct buffer_head *bh = NULL;
struct ocfs2_insert_type insert = {0, };
struct ocfs2_extent_rec rec;
@@
-3783,9
+3782,6
@@
int ocfs2_insert_extent(struct ocfs2_super *osb,
ocfs2_extent_map_insert_rec(inode, &rec);
bail:
- if (bh)
- brelse(bh);
-
if (last_eb_bh)
brelse(last_eb_bh);
This page took
0.04792 seconds
and
5
git commands to generate.