diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-11-16 05:30:53 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-11-16 05:31:29 +0100 |
commit | 617f41836c17688141e1c66f4156c2084f8ca86d (patch) | |
tree | e57d631bb3bb061a0ff2e99bc85f94bd1c30598f /drivers/mtd/mtdcore.c | |
parent | mtd: partitions: kill unused ecclayout struct (diff) | |
parent | Linux 4.4-rc1 (diff) | |
download | linux-617f41836c17688141e1c66f4156c2084f8ca86d.tar.xz linux-617f41836c17688141e1c66f4156c2084f8ca86d.zip |
Merge v4.4-rc1 into MTD development
Sync up with the upstream development.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/mtdcore.c')
-rw-r--r-- | drivers/mtd/mtdcore.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index c393a1155376..62f83b050978 100644 --- a/drivers/mtd/mtdcore.c +++ b/drivers/mtd/mtdcore.c @@ -1220,8 +1220,7 @@ EXPORT_SYMBOL_GPL(mtd_writev); */ void *mtd_kmalloc_up_to(const struct mtd_info *mtd, size_t *size) { - gfp_t flags = __GFP_NOWARN | __GFP_WAIT | - __GFP_NORETRY | __GFP_NO_KSWAPD; + gfp_t flags = __GFP_NOWARN | __GFP_DIRECT_RECLAIM | __GFP_NORETRY; size_t min_alloc = max_t(size_t, mtd->writesize, PAGE_SIZE); void *kbuf; |