summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorsmh <smh@FreeBSD.org>2014-10-03 14:49:48 +0000
committersmh <smh@FreeBSD.org>2014-10-03 14:49:48 +0000
commitc04b03f65b3f4b79ad23811725f0e618ed563674 (patch)
treeb6e6ada2716056c44adeed5c016b93fd5359d4d3 /share
parent5b5794dafb7a69e42733ef0870ee37f0e82b8457 (diff)
downloadFreeBSD-src-c04b03f65b3f4b79ad23811725f0e618ed563674.zip
FreeBSD-src-c04b03f65b3f4b79ad23811725f0e618ed563674.tar.gz
Fix various issues with zvols
When performing snapshot renames we could deadlock due to the locking in zvol_rename_minors. In order to avoid this use the same workaround as zvol_open in zvol_rename_minors. Add missing zvol_rename_minors to dsl_dataset_promote_sync. Protect against invalid index into zv_name in zvol_remove_minors. Replace zvol_remove_minor calls with zvol_remove_minors to ensure any potential children are also renamed. Don't fail zvol_create_minors if zvol_create_minor returns EEXIST. Restore the valid pool check in zfs_ioc_destroy_snaps to ensure we don't call zvol_remove_minors when zfs_unmount_snap fails. PR: 193803 MFC after: 1 week Sponsored by: Multiplay
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud