]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/xfs/xfs_qm.c
mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and...
[karo-tx-linux.git] / fs / xfs / xfs_qm.c
index eac9549efd52c824d7e298b494a470f43923936e..587174fd4f2c216637eda70b9986848a0980fd09 100644 (file)
@@ -525,7 +525,7 @@ xfs_qm_shrink_scan(
        unsigned long           freed;
        int                     error;
 
-       if ((sc->gfp_mask & (__GFP_FS|__GFP_WAIT)) != (__GFP_FS|__GFP_WAIT))
+       if ((sc->gfp_mask & (__GFP_FS|__GFP_DIRECT_RECLAIM)) != (__GFP_FS|__GFP_DIRECT_RECLAIM))
                return 0;
 
        INIT_LIST_HEAD(&isol.buffers);