aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rds/message.c')
-rw-r--r--net/rds/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/message.c b/net/rds/message.c
index 1f73a7358a8e..dd915e3e492d 100644
--- a/net/rds/message.c
+++ b/net/rds/message.c
@@ -256,7 +256,7 @@ struct rds_message *rds_message_map_pages(unsigned long *page_addrs, unsigned in
256 int num_sgs = ceil(total_len, PAGE_SIZE); 256 int num_sgs = ceil(total_len, PAGE_SIZE);
257 int extra_bytes = num_sgs * sizeof(struct scatterlist); 257 int extra_bytes = num_sgs * sizeof(struct scatterlist);
258 258
259 rm = rds_message_alloc(extra_bytes, GFP_KERNEL); 259 rm = rds_message_alloc(extra_bytes, GFP_NOWAIT);
260 if (!rm) 260 if (!rm)
261 return ERR_PTR(-ENOMEM); 261 return ERR_PTR(-ENOMEM);
262 262