]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/backing-dev.c
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux...
[karo-tx-linux.git] / mm / backing-dev.c
index 64ec49d1772be9dc75cd34ddfb8872d78470e166..12a992b625765b6b43b34a184e7e62536ae3e321 100644 (file)
@@ -631,7 +631,7 @@ long wait_iff_congested(struct zone *zone, int sync, long timeout)
         * of sleeping on the congestion queue
         */
        if (atomic_read(&nr_bdi_congested[sync]) == 0 ||
-                       !zone_is_reclaim_congested(zone)) {
+           !test_bit(ZONE_CONGESTED, &zone->flags)) {
                cond_resched();
 
                /* In case we scheduled, work out time remaining */