Re: [PATCH] zpool: add zpool_has_pool()

From: Dan Streetman
Date: Mon Jun 01 2015 - 07:15:07 EST


On Fri, May 29, 2015 at 5:37 PM, Andrew Morton
<akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, 29 May 2015 11:12:18 -0400 Dan Streetman <ddstreet@xxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/