HomeFreeBSD

Add zvol_open() error handling for readonly property

Description

Add zvol_open() error handling for readonly property

Rather than ASSERT when for some reason the readonly property of
a zvol can't be read cleanly handle the failure.

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

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Dec 20 2014, 12:28 AM
Parents
rGf9f431cd28ed: Use (void) memcpy(), not (void *) memcpy()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGa127e841dee2: Add zvol_open() error handling for readonly property (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jan 30 2015, 10:44 PM