diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2009-01-04 06:33:39 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-01-04 06:33:39 +0300 |
commit | 3300beda523136f9f87821e4fba85c5c9e319645 (patch) | |
tree | 0af91284ffa44b9c8c1b0de26674bca30271561f /fs/ext4/balloc.c | |
parent | 560671a0d3c9ad2d647fa6d09375a262e1f19c4f (diff) | |
download | linux-3300beda523136f9f87821e4fba85c5c9e319645.tar.xz |
ext4: code cleanup
Rename some variables. We also unlock locks in the reverse order we
acquired as a part of cleanup.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/balloc.c')
-rw-r--r-- | fs/ext4/balloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c index 902bf66c8dfb..1b26b68aa428 100644 --- a/fs/ext4/balloc.c +++ b/fs/ext4/balloc.c @@ -329,8 +329,8 @@ ext4_read_block_bitmap(struct super_block *sb, ext4_group_t block_group) if (desc->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)) { ext4_init_block_bitmap(sb, bh, block_group, desc); set_buffer_uptodate(bh); - unlock_buffer(bh); spin_unlock(sb_bgl_lock(EXT4_SB(sb), block_group)); + unlock_buffer(bh); return bh; } spin_unlock(sb_bgl_lock(EXT4_SB(sb), block_group)); |