From 783c9141a9d105451c96937fc0c66b58964aedc5 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Mon, 23 Jul 2007 10:01:21 +0200 Subject: [PATCH] --- yaml --- r: 63904 b: refs/heads/master c: 6a18380e7ddd7d1a0493efe3be6475dd92323364 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/alloc.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 41926cfd2fdf..93b14e982320 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5a25403175b8a945e93fc9c64ae9cf54f5730add +refs/heads/master: 6a18380e7ddd7d1a0493efe3be6475dd92323364 diff --git a/trunk/fs/ocfs2/alloc.c b/trunk/fs/ocfs2/alloc.c index f5e11f4fa952..4f517665c9a0 100644 --- a/trunk/fs/ocfs2/alloc.c +++ b/trunk/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);