OSDN Git Service

mm: meminit: initialise remaining struct pages in parallel with kswapd
[uclinux-h8/linux.git] / mm / readahead.c
index 9356758..60cd846 100644 (file)
@@ -541,7 +541,7 @@ page_cache_async_readahead(struct address_space *mapping,
        /*
         * Defer asynchronous read-ahead on IO congestion.
         */
-       if (bdi_read_congested(inode_to_bdi(mapping->host)))
+       if (inode_read_congested(mapping->host))
                return;
 
        /* do read-ahead */