Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ced156e4 authored by Tao Ma's avatar Tao Ma Committed by Theodore Ts'o
Browse files

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: default avatarTao Ma <boyu.mt@taobao.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 529da704
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2581,7 +2581,7 @@ int ext4_mb_release(struct super_block *sb)
				atomic_read(&sbi->s_mb_lost_chunks));
		printk(KERN_INFO
		       "EXT4-fs: mballoc: %lu generated and it took %Lu\n",
				sbi->s_mb_buddies_generated++,
				sbi->s_mb_buddies_generated,
				sbi->s_mb_generation_time);
		printk(KERN_INFO
		       "EXT4-fs: mballoc: %u preallocated, %u discarded\n",