Whamcloud - gitweb
LU-8056 mem: handle GFP_IOFS removal in newer kernels
[fs/lustre-release.git] / lustre / obdclass / lu_ref.c
index aee9cf8..4cd6bf2 100644 (file)
@@ -183,7 +183,7 @@ static struct lu_ref_link *lu_ref_add_context(struct lu_ref *ref,
 void lu_ref_add(struct lu_ref *ref, const char *scope, const void *source)
 {
        might_sleep();
-       lu_ref_add_context(ref, GFP_IOFS, scope, source);
+       lu_ref_add_context(ref, GFP_NOFS, scope, source);
 }
 EXPORT_SYMBOL(lu_ref_add);