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-09-12 18:39:47 -0800
commit19b2b5c4fcac91559a2a8dc342d88d0017f4dd8a (patch)
tree7ea07bf61804cdf44a0150510954da5769d05751
parent46c4a2160c13d966897223b57cadefd6b8201082 (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 5811122ce273..0df269367e3a 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;