From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f181.google.com (mail-qk0-f181.google.com [209.85.220.181]) by kanga.kvack.org (Postfix) with ESMTP id 172B76B0038 for ; Mon, 1 Jun 2015 07:14:57 -0400 (EDT) Received: by qkoo18 with SMTP id o18so81817594qko.1 for ; Mon, 01 Jun 2015 04:14:56 -0700 (PDT) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com. [2607:f8b0:400d:c01::22a]) by mx.google.com with ESMTPS id l4si12676079qge.125.2015.06.01.04.14.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jun 2015 04:14:56 -0700 (PDT) Received: by qcej9 with SMTP id j9so2941681qce.1 for ; Mon, 01 Jun 2015 04:14:55 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20150529143755.35e070822d62cf39119aac13@linux-foundation.org> References: <1432912338-16775-1-git-send-email-ddstreet@ieee.org> <20150529143755.35e070822d62cf39119aac13@linux-foundation.org> From: Dan Streetman Date: Mon, 1 Jun 2015 07:14:34 -0400 Message-ID: Subject: Re: [PATCH] zpool: add zpool_has_pool() Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: Ganesh Mahendran , Minchan Kim , Kees Cook , linux-kernel , Linux-MM On Fri, May 29, 2015 at 5:37 PM, Andrew Morton wrote: > On Fri, 29 May 2015 11:12:18 -0400 Dan Streetman wrote: > >> Add zpool_has_pool() function, indicating if the specified type of zpool >> is available (i.e. zsmalloc or zbud). This allows checking if a pool is >> available, without actually trying to allocate it, similar to >> crypto_has_alg(). >> >> ... >> >> +bool zpool_has_pool(char *type); > > This has no callers. Yes, I have a few patches coming up for zswap, that use this. I was trying to get the simple patches in first, but I can include this in the patch series that uses it. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org