freebsd-skq/sys/cddl
Pawel Jakub Dawidek a33b7a8f5f If setting a state to anything but open state, close access to vdev.
This fixes replacing drive in place, eg. zpool replace tank da1 da1.
Before it complained that device is already open.

MFC after:	1 week
2007-11-05 21:30:48 +00:00
..
compat/opensolaris Remove "zfs:" prefix from lock and condvar names and also skip non-letter 2007-11-05 18:40:55 +00:00
contrib/opensolaris If setting a state to anything but open state, close access to vdev. 2007-11-05 21:30:48 +00:00