summaryrefslogtreecommitdiffstats
path: root/net/ceph/buffer.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2011-01-10 09:29:29 +0100
committerMichal Simek <monstr@monstr.eu>2011-01-10 09:29:29 +0100
commit20c040ce2176be4be250503497a0a103a3fb3b3e (patch)
treefce5d1cf5860ea2aeb292736fd373da8e2ea5a98 /net/ceph/buffer.c
parent7f01af04bdf59448f3d75744d7ad9713331bd0f7 (diff)
parent3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5 (diff)
downloadlinux-20c040ce2176be4be250503497a0a103a3fb3b3e.tar.gz
linux-20c040ce2176be4be250503497a0a103a3fb3b3e.tar.bz2
linux-20c040ce2176be4be250503497a0a103a3fb3b3e.zip
Merge commit 'v2.6.37' into next
Diffstat (limited to 'net/ceph/buffer.c')
-rw-r--r--net/ceph/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/buffer.c b/net/ceph/buffer.c
index 53d8abfa25d5..bf3e6a13c215 100644
--- a/net/ceph/buffer.c
+++ b/net/ceph/buffer.c
@@ -19,7 +19,7 @@ struct ceph_buffer *ceph_buffer_new(size_t len, gfp_t gfp)
if (b->vec.iov_base) {
b->is_vmalloc = false;
} else {
- b->vec.iov_base = __vmalloc(len, gfp, PAGE_KERNEL);
+ b->vec.iov_base = __vmalloc(len, gfp | __GFP_HIGHMEM, PAGE_KERNEL);
if (!b->vec.iov_base) {
kfree(b);
return NULL;