Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752470AbbFALPD (ORCPT ); Mon, 1 Jun 2015 07:15:03 -0400 Received: from mail-qc0-f171.google.com ([209.85.216.171]:36502 "EHLO mail-qc0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751154AbbFALOz (ORCPT ); Mon, 1 Jun 2015 07:14:55 -0400 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 X-Google-Sender-Auth: XVAsLVf2QNW9SNXYABoMcXBIDVs Message-ID: Subject: Re: [PATCH] zpool: add zpool_has_pool() To: Andrew Morton Cc: Ganesh Mahendran , Minchan Kim , Kees Cook , linux-kernel , Linux-MM Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 890 Lines: 23 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/