]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - mm/memcontrol.c
Fix congestion_wait() sync/async vs read/write confusion
[net-next-2.6.git] / mm / memcontrol.c
index e2fa20dadf408e2d38e6b5a4a61ed4fb9febd3a1..e717964cb5a0cc2e73ddc520a5d76d726cb6593a 100644 (file)
@@ -1973,7 +1973,7 @@ try_to_free:
                if (!progress) {
                        nr_retries--;
                        /* maybe some writeback is necessary */
-                       congestion_wait(WRITE, HZ/10);
+                       congestion_wait(BLK_RW_ASYNC, HZ/10);
                }
 
        }