cpufreq: schedutil: Simplify sugov_fast_switch()
[linux-2.6-microblaze.git] / mm / swapfile.c
index 12f59e6..debc941 100644 (file)
@@ -1078,7 +1078,7 @@ start_over:
                        goto nextsi;
                }
                if (size == SWAPFILE_CLUSTER) {
-                       if (!(si->flags & SWP_FS))
+                       if (si->flags & SWP_BLKDEV)
                                n_ret = swap_alloc_cluster(si, swp_entries);
                } else
                        n_ret = scan_swap_map_slots(si, SWAP_HAS_CACHE,