|
@@ -863,7 +863,6 @@ static void ext4_put_super(struct super_block *sb)
|
|
percpu_counter_destroy(&sbi->s_dirs_counter);
|
|
percpu_counter_destroy(&sbi->s_dirs_counter);
|
|
percpu_counter_destroy(&sbi->s_dirtyclusters_counter);
|
|
percpu_counter_destroy(&sbi->s_dirtyclusters_counter);
|
|
percpu_free_rwsem(&sbi->s_journal_flag_rwsem);
|
|
percpu_free_rwsem(&sbi->s_journal_flag_rwsem);
|
|
- brelse(sbi->s_sbh);
|
|
|
|
#ifdef CONFIG_QUOTA
|
|
#ifdef CONFIG_QUOTA
|
|
for (i = 0; i < EXT4_MAXQUOTAS; i++)
|
|
for (i = 0; i < EXT4_MAXQUOTAS; i++)
|
|
kfree(sbi->s_qf_names[i]);
|
|
kfree(sbi->s_qf_names[i]);
|
|
@@ -895,6 +894,7 @@ static void ext4_put_super(struct super_block *sb)
|
|
}
|
|
}
|
|
if (sbi->s_mmp_tsk)
|
|
if (sbi->s_mmp_tsk)
|
|
kthread_stop(sbi->s_mmp_tsk);
|
|
kthread_stop(sbi->s_mmp_tsk);
|
|
|
|
+ brelse(sbi->s_sbh);
|
|
sb->s_fs_info = NULL;
|
|
sb->s_fs_info = NULL;
|
|
/*
|
|
/*
|
|
* Now that we are completely done shutting down the
|
|
* Now that we are completely done shutting down the
|