X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=mm%2Fzswap.c;h=4249e82ff934d9fec506fcc7db56d57d48efaf9c;hb=84b9fbedf54a6ea4fba62ef8a167138233586ad3;hp=0cfce9bc51e4946c561e48b8cb5f9e6cf7669d5f;hpb=88a57667f2990f00b019d46c8426441c9e516d51;p=mirror_ubuntu-artful-kernel.git diff --git a/mm/zswap.c b/mm/zswap.c index 0cfce9bc51e4..4249e82ff934 100644 --- a/mm/zswap.c +++ b/mm/zswap.c @@ -906,11 +906,12 @@ static int __init init_zswap(void) pr_info("loading zswap\n"); - zswap_pool = zpool_create_pool(zswap_zpool_type, gfp, &zswap_zpool_ops); + zswap_pool = zpool_create_pool(zswap_zpool_type, "zswap", gfp, + &zswap_zpool_ops); if (!zswap_pool && strcmp(zswap_zpool_type, ZSWAP_ZPOOL_DEFAULT)) { pr_info("%s zpool not available\n", zswap_zpool_type); zswap_zpool_type = ZSWAP_ZPOOL_DEFAULT; - zswap_pool = zpool_create_pool(zswap_zpool_type, gfp, + zswap_pool = zpool_create_pool(zswap_zpool_type, "zswap", gfp, &zswap_zpool_ops); } if (!zswap_pool) {