From 19acc9622df712f3a1d9696501b114d86bd3bc55 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 29 Nov 2012 21:21:22 -0500 Subject: [PATCH] --- yaml --- r: 344871 b: refs/heads/master c: aeb1e5d69a5be592e86a926be73efb38c55af404 h: refs/heads/master i: 344869: 5d21606e440770f20ca6375d08b6cb197d5bc975 344867: 1ba767be667830960b0903858b52da8a021c74b7 344863: 0a9a2250b6d46080c190f19ea4cc9b8d6f032500 v: v3 --- [refs] | 2 +- trunk/fs/ext4/ialloc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index d1b8f5e25f24..3837ad612bfa 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 69c499d152a7fe2c4443e5ddd91568ad5a79145a +refs/heads/master: aeb1e5d69a5be592e86a926be73efb38c55af404 diff --git a/trunk/fs/ext4/ialloc.c b/trunk/fs/ext4/ialloc.c index 3a100e7a62a8..c7efa88d7149 100644 --- a/trunk/fs/ext4/ialloc.c +++ b/trunk/fs/ext4/ialloc.c @@ -762,7 +762,6 @@ struct inode *ext4_new_inode(handle_t *handle, struct inode *dir, umode_t mode, BUFFER_TRACE(block_bitmap_bh, "dirty block bitmap"); err = ext4_handle_dirty_metadata(handle, NULL, block_bitmap_bh); - brelse(block_bitmap_bh); /* recheck and clear flag under lock if we still need to */ ext4_lock_group(sb, group); @@ -775,6 +774,7 @@ struct inode *ext4_new_inode(handle_t *handle, struct inode *dir, umode_t mode, ext4_group_desc_csum_set(sb, group, gdp); } ext4_unlock_group(sb, group); + brelse(block_bitmap_bh); if (err) goto fail;