Whamcloud - gitweb
LU-4357 libcfs: restore __GFP_WAIT flag to memalloc calls
[fs/lustre-release.git] / lustre / llite / xattr_cache.c
index de5d8e2..fd32da0 100644 (file)
@@ -143,7 +143,7 @@ static int ll_xattr_cache_add(struct list_head *cache,
                RETURN(-EPROTO);
        }
 
-       OBD_SLAB_ALLOC_PTR_GFP(xattr, xattr_kmem, __GFP_IO);
+       OBD_SLAB_ALLOC_PTR_GFP(xattr, xattr_kmem, GFP_NOFS);
        if (xattr == NULL) {
                CDEBUG(D_CACHE, "failed to allocate xattr\n");
                RETURN(-ENOMEM);