Whamcloud - gitweb
LU-4423 mem: remove GFP_IOFS
[fs/lustre-release.git] / libcfs / libcfs / tracefile.c
index 2baecb8..df3a8b9 100644 (file)
@@ -793,7 +793,7 @@ int cfs_trace_allocate_string_buffer(char **str, int nob)
        if (nob > 2 * PAGE_CACHE_SIZE)  /* string must be "sensible" */
                 return -EINVAL;
 
        if (nob > 2 * PAGE_CACHE_SIZE)  /* string must be "sensible" */
                 return -EINVAL;
 
-       *str = kmalloc(nob, GFP_IOFS | __GFP_ZERO);
+       *str = kmalloc(nob, GFP_KERNEL | __GFP_ZERO);
         if (*str == NULL)
                 return -ENOMEM;
 
         if (*str == NULL)
                 return -ENOMEM;