HomeFreeBSD

Remove wholedisk check from vdev_disk_open()

Description

Remove wholedisk check from vdev_disk_open()

As described by the comment and enforced the by assertion the
v->vdev_wholedisk will never be -1. The wholedisk handling
is performed by the user space utilities. To prevent confusion
this dead code is being removed.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Feb 26 2013, 7:28 PM
Parents
rG0d8103d9561b: Leaf vdevs should not be reopened
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGbd99a7584a3d: Remove wholedisk check from vdev_disk_open() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Feb 28 2013, 8:02 PM