On Mon,  2 Jun 2014 18:19:46 -0400 Dan Streetman <[email protected]> wrote:

> Add try_module_get() to zpool_create_pool(), and module_put() to
> zpool_destroy_pool().  Without module usage counting, the driver module(s)
> could be unloaded while their pool(s) were active, resulting in an oops
> when zpool tried to access them.

Was wondering about that ;)  We may as well fold
this fix into "mm/zpool: implement common zpool api to zbud/zsmalloc"?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to