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>2017-01-18 21:40:17 -0900
commit21a9cdf2d144b44d5333da97740d4d7cf1e8d2df (patch)
treeca7c3a6b42f2ca257e0b04f56979bdd1c642425e
parent8bfa943b48c282f970b620c2a71929aab8020227 (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;