diff --git a/fs/ext4/super.c b/fs/ext4/super.c index ac7e7396be5a08cec33e47f7e2b7f9c2b5bd67de..d87a435adc46c15a470b9bc994164bc3ae31fa85 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -1289,7 +1289,7 @@ static void ext4_put_super(struct super_block *sb) sync_blockdev(sb->s_bdev); invalidate_bdev(sb->s_bdev); - if (sbi->s_journal_bdev && sbi->s_journal_bdev != sb->s_bdev) { + if (sbi->s_journal_bdev) { sync_blockdev(sbi->s_journal_bdev); ext4_blkdev_remove(sbi); }