summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/system.c
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2013-04-03 11:06:26 +0000
committeravg <avg@FreeBSD.org>2013-04-03 11:06:26 +0000
commitc8fe315d98b07175c5fb3029236d99caf89a5eff (patch)
treef5b8df4d8041eba7d3cafc307c16849e76189a72 /lib/libc/stdlib/system.c
parente9e96300b70118a02c9983e18a85baa40bbdd515 (diff)
downloadFreeBSD-src-c8fe315d98b07175c5fb3029236d99caf89a5eff.zip
FreeBSD-src-c8fe315d98b07175c5fb3029236d99caf89a5eff.tar.gz
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
Diffstat (limited to 'lib/libc/stdlib/system.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud