]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r333630: Fix 'zpool create -t <tempname>'
authoravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 22 Jun 2018 09:41:13 +0000 (09:41 +0000)
committeravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 22 Jun 2018 09:41:13 +0000 (09:41 +0000)
commit003901cd33fca4f416e055276966bbea551a8b0e
treeac08e07fd23701b62a33a6a09a818941d4f36931
parent15681103885d173d5ec35c34e6383037f255a26d
MFC r333630: Fix 'zpool create -t <tempname>'

Creating a pool with a temporary name fails when we also specify custom
dataset properties: this is because we mistakenly call
zfs_set_prop_nvlist() on the "real" pool name which, as expected,
cannot be found because the SPA is present in the namespace with the
temporary name.

git-svn-id: svn://svn.freebsd.org/base/stable/10@335546 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c