projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb1b74e
)
[PATCH] relayfs: fix bogus param value in call to vmap
author
Tom Zanussi
<zanussi@us.ibm.com>
Sun, 9 Oct 2005 15:41:32 +0000
(10:41 -0500)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 10 Oct 2005 15:39:50 +0000
(08:39 -0700)
The third param in this call to vmap shouldn't be GFP_KERNEL, which
makes no sense, but rather VM_MAP. Thanks to Al Viro for spotting
this.
Signed-off-by: Tom Zanussi <zanussi@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/relayfs/buffers.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/relayfs/buffers.c
b/fs/relayfs/buffers.c
index 2aa8e27199999d6eb7bcdb09cb7114bc33edab23..84e21ffa5ca8e8e695dcfcad6fa5a3eb3bb9e7cc 100644
(file)
--- a/
fs/relayfs/buffers.c
+++ b/
fs/relayfs/buffers.c
@@
-109,7
+109,7
@@
static void *relay_alloc_buf(struct rchan_buf *buf, unsigned long size)
if (unlikely(!buf->page_array[i]))
goto depopulate;
}
- mem = vmap(buf->page_array, n_pages,
GFP_KERNEL
, PAGE_KERNEL);
+ mem = vmap(buf->page_array, n_pages,
VM_MAP
, PAGE_KERNEL);
if (!mem)
goto depopulate;