Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-4423 mem: remove GFP_IOFS
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
tracefile.c
diff --git
a/libcfs/libcfs/tracefile.c
b/libcfs/libcfs/tracefile.c
index
2baecb8
..
df3a8b9
100644
(file)
--- a/
libcfs/libcfs/tracefile.c
+++ b/
libcfs/libcfs/tracefile.c
@@
-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;