+ zswap-only-save-zswap-header-when-necessary-v3.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: zswap-only-save-zswap-header-when-necessary-v3
has been added to the -mm tree.  Its filename is
     zswap-only-save-zswap-header-when-necessary-v3.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/zswap-only-save-zswap-header-when-necessary-v3.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/zswap-only-save-zswap-header-when-necessary-v3.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Yu Zhao <yuzhao@xxxxxxxxxx>
Subject: zswap-only-save-zswap-header-when-necessary-v3

The zpool->" prefix is a result out copy & paste.

Link: http://lkml.kernel.org/r/20180110225626.110330-1-yuzhao@xxxxxxxxxx
Signed-off-by: Yu Zhao <yuzhao@xxxxxxxxxx>
Cc: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
Cc: Dan Streetman <ddstreet@xxxxxxxx>
Cc: Seth Jennings <sjenning@xxxxxxxxxx>
Cc: Minchan Kim <minchan@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/zpool.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff -puN mm/zpool.c~zswap-only-save-zswap-header-when-necessary-v3 mm/zpool.c
--- a/mm/zpool.c~zswap-only-save-zswap-header-when-necessary-v3
+++ a/mm/zpool.c
@@ -181,8 +181,7 @@ struct zpool *zpool_create_pool(const ch
 	zpool->driver = driver;
 	zpool->pool = driver->create(name, gfp, ops, zpool);
 	zpool->ops = ops;
-	zpool->evictable = zpool->driver->shrink &&
-			   zpool->ops && zpool->ops->evict;
+	zpool->evictable = driver->shrink && ops && ops->evict;
 
 	if (!zpool->pool) {
 		pr_err("couldn't create %s pool\n", type);
_

Patches currently in -mm which might be from yuzhao@xxxxxxxxxx are

mm-dont-expose-page-to-fast-gup-before-its-ready.patch
zswap-only-save-zswap-header-when-necessary.patch
zswap-only-save-zswap-header-when-necessary-v3.patch
memcg-refactor-mem_cgroup_resize_limit.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux