freebsd-dev/sys/cddl
Andriy Gapon 9ff9b984c9 spa_open_common: fix argument to zvol_create_minors
Prior to r248571 spa_open was always called with a bare pool name,
but now it is called with a dataset name instead (spa_lookup handles
that).
So, when a ZFS root is mounted spa_open is called with a name of a root
dataset, which can very well be different from the pool name.
But zvol_create_minors should be called with the pool name, because it
performs a recursive traversal of all datasets under the name to find
all those that are volumes.

MFC after:	7 days
2013-04-03 11:06:26 +00:00
..
boot/zfs MFV r245512: 2013-02-09 06:39:28 +00:00
compat/opensolaris TRIM cache devices based on time instead of TXGs. 2013-03-21 10:29:05 +00:00
contrib/opensolaris spa_open_common: fix argument to zvol_create_minors 2013-04-03 11:06:26 +00:00
dev fbt_getargdesc: correctly handle types for return probes 2013-03-23 08:52:50 +00:00