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-13783 libcfs: support __vmalloc with only 2 args.
[fs/lustre-release.git]
/
lnet
/
klnds
/
gnilnd
/
gnilnd.h
diff --git
a/lnet/klnds/gnilnd/gnilnd.h
b/lnet/klnds/gnilnd/gnilnd.h
index
03cdd07
..
3c7f742
100644
(file)
--- a/
lnet/klnds/gnilnd/gnilnd.h
+++ b/
lnet/klnds/gnilnd/gnilnd.h
@@
-997,12
+997,10
@@
static inline void *kgnilnd_vzalloc(int size)
{
void *ret;
if (*kgnilnd_tunables.kgn_vzalloc_noretry)
- ret = __vmalloc(size, __GFP_HIGHMEM | GFP_NOIO | __GFP_NORETRY |
- __GFP_ZERO,
- PAGE_KERNEL);
+ ret = __ll_vmalloc(size, __GFP_HIGHMEM | GFP_NOIO | __GFP_ZERO |
+ __GFP_NORETRY);
else
- ret = __vmalloc(size, __GFP_HIGHMEM | GFP_NOIO | __GFP_ZERO,
- PAGE_KERNEL);
+ ret = __ll_vmalloc(size, __GFP_HIGHMEM | GFP_NOIO | __GFP_ZERO);
LIBCFS_ALLOC_POST(ret, size);
return ret;