Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309971
b: refs/heads/master
c: 9559996
h: refs/heads/master
i:
  309969: 1d409b9
  309967: f12b29a
v: v3
  • Loading branch information
Salman Qazi authored and Theodore Ts'o committed Jun 1, 2012
1 parent ad6878d commit 027bf71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02b7831019ea4e7994968c84b5826fa8b248ffc8
refs/heads/master: 95599968d19db175829fb580baa6b68939b320fb
5 changes: 3 additions & 2 deletions trunk/fs/ext4/mballoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2517,6 +2517,9 @@ int ext4_mb_release(struct super_block *sb)
struct ext4_sb_info *sbi = EXT4_SB(sb);
struct kmem_cache *cachep = get_groupinfo_cache(sb->s_blocksize_bits);

if (sbi->s_proc)
remove_proc_entry("mb_groups", sbi->s_proc);

if (sbi->s_group_info) {
for (i = 0; i < ngroups; i++) {
grinfo = ext4_get_group_info(sb, i);
Expand Down Expand Up @@ -2564,8 +2567,6 @@ int ext4_mb_release(struct super_block *sb)
}

free_percpu(sbi->s_locality_groups);
if (sbi->s_proc)
remove_proc_entry("mb_groups", sbi->s_proc);

return 0;
}
Expand Down

0 comments on commit 027bf71

Please sign in to comment.