Fixes c8585c6fcaf2 ("ext4: fix races between changing inode journal ...") # 4.7 cc: Daeho Jeong <daeho.jeong@xxxxxxxxxxx> Signed-off-by: Vasily Averin <vvs@xxxxxxxxxxxxx> --- fs/ext4/super.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index ed4d36506ec2..0c9e165b4e3f 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -4511,6 +4511,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) percpu_counter_destroy(&sbi->s_freeinodes_counter); percpu_counter_destroy(&sbi->s_dirs_counter); percpu_counter_destroy(&sbi->s_dirtyclusters_counter); + percpu_free_rwsem(&sbi->s_journal_flag_rwsem); failed_mount5: ext4_ext_release(sb); ext4_release_system_zone(sb); -- 2.17.1