summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2016-09-12 18:39:47 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2016-10-07 12:37:05 -0800
commit36c9e2fc902f15da98999dc3106616d9010b4ba7 (patch)
treeaffb81960696ed04e685adbcb3c1091a953f9002
parentc4e0f4af17943506bf487b73bd46dd3b9f8fa889 (diff)
bcache: use __GFP_NOWARN for __bounce_alloc()
We have a mempool fallback for this, so no need to warn
-rw-r--r--drivers/md/bcache/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/io.c b/drivers/md/bcache/io.c
index 0d24dbab5b3b..019b3edbd266 100644
--- a/drivers/md/bcache/io.c
+++ b/drivers/md/bcache/io.c
@@ -208,7 +208,7 @@ static void *__bounce_alloc(struct cache_set *c, unsigned size,
void *data;
*bounced = BOUNCED_KMALLOCED;
- data = kmalloc(size, GFP_NOIO);
+ data = kmalloc(size, GFP_NOIO|__GFP_NOWARN);
if (data)
return data;