HomeFreeBSD

spa_open_common: fix argument to zvol_create_minors
rS249047Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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

Details

Provenance
avgAuthored on
Parents
rS249046: MFH (r246358): load pfsync.ko if necessary.
Branches
Unknown
Tags
Unknown

Event Timeline