diff options
author | Tao Ma <boyu.mt@taobao.com> | 2011-07-23 16:18:05 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-07-23 16:18:05 -0400 |
commit | ced156e464e49b6b4153ede9aaa04d9a4ad24e0c (patch) | |
tree | fd75128cb77e6634a5f22c16b601af5857182c35 /fs/ext4/mballoc.c | |
parent | 529da704ad1ead755d9e40721f29446cb278e099 (diff) |
ext4: don't increment s_mb_buddies_generated in ext4_mb_release
In ext4_mb_release, we use s_mb_buddies_generated++. Although
the output is OK, but I don't think we need this extra ++.
Signed-off-by: Tao Ma <boyu.mt@taobao.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 447c0f3384ab..e16583032b6b 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c | |||
@@ -2581,7 +2581,7 @@ int ext4_mb_release(struct super_block *sb) | |||
2581 | atomic_read(&sbi->s_mb_lost_chunks)); | 2581 | atomic_read(&sbi->s_mb_lost_chunks)); |
2582 | printk(KERN_INFO | 2582 | printk(KERN_INFO |
2583 | "EXT4-fs: mballoc: %lu generated and it took %Lu\n", | 2583 | "EXT4-fs: mballoc: %lu generated and it took %Lu\n", |
2584 | sbi->s_mb_buddies_generated++, | 2584 | sbi->s_mb_buddies_generated, |
2585 | sbi->s_mb_generation_time); | 2585 | sbi->s_mb_generation_time); |
2586 | printk(KERN_INFO | 2586 | printk(KERN_INFO |
2587 | "EXT4-fs: mballoc: %u preallocated, %u discarded\n", | 2587 | "EXT4-fs: mballoc: %u preallocated, %u discarded\n", |