--- x/fs/exfat/super.c +++ y/fs/exfat/super.c @@ -46,9 +46,6 @@ static int exfat_sync_fs(struct super_bl struct exfat_sb_info *sbi = EXFAT_SB(sb); int err = 0; - if (unlikely(exfat_forced_shutdown(sb))) - return 0; - if (!wait) return 0; @@ -189,7 +186,6 @@ int exfat_force_shutdown(struct super_bl set_bit(EXFAT_FLAGS_SHUTDOWN, &sbi->s_exfat_flags); break; case EXFAT_GOING_DOWN_NOSYNC: - set_bit(EXFAT_FLAGS_SHUTDOWN, &sbi->s_exfat_flags); break; default: return -EINVAL;