aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zvol.c
diff options
context:
space:
mode:
authorloli10K <[email protected]>2019-01-18 20:14:01 +0100
committerBrian Behlendorf <[email protected]>2019-01-18 11:14:01 -0800
commit0a10863194b0e7c1c64f702f868c10d5dac45ea5 (patch)
tree8837609aae223a7baeb635427861974541b6f449 /module/zfs/zvol.c
parentad635071355255a43469daa41fd411881407d861 (diff)
ztest: creates partially initialized root dataset
Since d8fdfc2 was integrated dsl_pool_create() does not call dmu_objset_create_impl() for the root dataset when running in userland (ztest): this creates a pool with a partially initialized root dataset. Trying to import and use this pool results in both zpool and zfs executables dumping core. Fix this by adopting an alternative change suggested in OpenZFS 8607 code review. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed by: Tom Caputi <[email protected]> Original-patch-by: Robert Mustacchi <[email protected]> Signed-off-by: loli10K <[email protected]> Closes #8277
Diffstat (limited to 'module/zfs/zvol.c')
0 files changed, 0 insertions, 0 deletions