Merge zvol.c changes from PSARC 2010/306 Read-only ZFS pools
authorGeorge Wilson <George.Wilson@Sun.COM>
Sun, 3 Mar 2013 05:57:39 +0000 (00:57 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 4 Mar 2013 17:56:13 +0000 (09:56 -0800)
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


No differences found