--- ext4-mmp-rhel5.patch.orig 2011-08-11 12:01:59.000000000 +0000 +++ ext4-mmp-rhel5.patch 2011-08-11 12:06:42.000000000 +0000 @@ -522,12 +522,21 @@ #include "ext4.h" #include "ext4_jbd2.h" -@@ -698,6 +700,8 @@ static void ext4_put_super(struct super_ +@@ -682,7 +682,6 @@ + percpu_counter_destroy(&sbi->s_freeinodes_counter); + percpu_counter_destroy(&sbi->s_dirs_counter); + percpu_counter_destroy(&sbi->s_dirtyblocks_counter); +- brelse(sbi->s_sbh); + #ifdef CONFIG_QUOTA + for (i = 0; i < MAXQUOTAS; i++) + kfree(sbi->s_qf_names[i]); +@@ -698,6 +700,9 @@ static void ext4_put_super(struct super_ invalidate_bdev(sbi->journal_bdev, 0); ext4_blkdev_remove(sbi); } + if (sbi->s_mmp_tsk) + kthread_stop(sbi->s_mmp_tsk); ++ brelse(sbi->s_sbh); sb->s_fs_info = NULL; /* * Now that we are completely done shutting down the