1 Index: linux-stage/fs/ext4/mballoc.c
2 ===================================================================
3 --- linux-stage.orig/fs/ext4/mballoc.c
4 +++ linux-stage/fs/ext4/mballoc.c
5 @@ -3781,7 +3781,8 @@ ext4_mb_release_inode_pa(struct ext4_bud
6 * from the bitmap and continue.
9 - BUG_ON(pa->pa_free != free);
10 + /* do not verify if the file system is being umounted */
11 + BUG_ON(atomic_read(&sb->s_active) > 0 && pa->pa_free != free);
12 atomic_add(free, &sbi->s_mb_discarded);