freebsd-dev/sys/cddl/contrib/opensolaris/uts/common/fs
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
..
zfs If setting a state to anything but open state, close access to vdev. 2007-11-05 21:30:48 +00:00
gfs.c All objects we create using GFS are directories, so initialize d_type 2007-05-23 21:27:47 +00:00