diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2009-01-03 22:33:39 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-01-03 22:33:39 -0500 |
commit | 3300beda523136f9f87821e4fba85c5c9e319645 (patch) | |
tree | 0af91284ffa44b9c8c1b0de26674bca30271561f /fs/ext4/mballoc.c | |
parent | 560671a0d3c9ad2d647fa6d09375a262e1f19c4f (diff) |
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/mballoc.c')
-rw-r--r-- | fs/ext4/mballoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 3809a9348f29..aac33590ac64 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c | |||
@@ -804,8 +804,8 @@ static int ext4_mb_init_cache(struct page *page, char *incore) | |||
804 | ext4_init_block_bitmap(sb, bh[i], | 804 | ext4_init_block_bitmap(sb, bh[i], |
805 | first_group + i, desc); | 805 | first_group + i, desc); |
806 | set_buffer_uptodate(bh[i]); | 806 | set_buffer_uptodate(bh[i]); |
807 | unlock_buffer(bh[i]); | ||
808 | spin_unlock(sb_bgl_lock(EXT4_SB(sb), first_group + i)); | 807 | spin_unlock(sb_bgl_lock(EXT4_SB(sb), first_group + i)); |
808 | unlock_buffer(bh[i]); | ||
809 | continue; | 809 | continue; |
810 | } | 810 | } |
811 | spin_unlock(sb_bgl_lock(EXT4_SB(sb), first_group + i)); | 811 | spin_unlock(sb_bgl_lock(EXT4_SB(sb), first_group + i)); |