HomeFreeBSD

Merge zvol.c changes from PSARC 2010/306 Read-only ZFS pools

Description

Merge zvol.c changes from PSARC 2010/306 Read-only ZFS pools

The changes to zvol.c were never merged from the last onnv_147
bulk update. This was because zvol.c was largely rewritten
for Linux making it fairly easy to miss these sorts of changes.

This causes a regression when importing a zpool with zvols
read-only. This does not impact pool which only contain
filesystem datasets.

References:

illumos/illumos-gate@f9af39b

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1332
Closes #1333

Details

Provenance
George Wilson <George.Wilson@Sun.COM>Authored on Mar 3 2013, 5:57 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 4 2013, 5:56 PM
Parents
rGb01615d5ac86: Constify structures containing function pointers
Branches
Unknown
Tags
Unknown