HomeFreeBSD

dsl_dataset_promote_sync: populate 'oldname' before using it

Description

dsl_dataset_promote_sync: populate 'oldname' before using it

It's very unlikely that zfsvfs_update_fromname() and
zvol_rename_minors() ever did anything during the promote operation as
the old name was not initialized.

MFC after: 1 week

Details

Provenance
avgAuthored on
Parents
rS358379: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (18 of many)
Branches
Unknown
Tags
Unknown