Messages in this thread | | | From | Dan Streetman <> | Date | Mon, 1 Jun 2015 07:14:34 -0400 | Subject | Re: [PATCH] zpool: add zpool_has_pool() |
| |
On Fri, May 29, 2015 at 5:37 PM, Andrew Morton <akpm@linux-foundation.org> wrote: > On Fri, 29 May 2015 11:12:18 -0400 Dan Streetman <ddstreet@ieee.org> 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.
| |