Hmm, I'll ask Chris about this since my repo shows this:
diff --git a/usr/src/uts/common/fs/zfs/vdev_label.c
b/usr/src/uts/common/fs/zfs/vdev_label.c
index 0b4915f..c7ae60c 100644
--- a/usr/src/uts/common/fs/zfs/vdev_label.c
+++ b/usr/src/uts/common/fs/zfs/vdev_label.c
@@ -640,7 +640,7 @@ vdev_label_init(vdev_t *vd, uint64_t crtxg,
vdev_labeltype_t reason)
/* Track the creation time for this vdev */
vd->vdev_crtxg = crtxg;
- if (!vd->vdev_ops->vdev_op_leaf)
+ if (!vd->vdev_ops->vdev_op_leaf || !spa_writeable(spa))
return (0);
/*
- George
On 12/11/13 12:23 PM, Saso Kiselkov wrote:
On 12/11/13, 5:19 PM, Christopher Siden wrote:
http://code.delphix.com/illumos-4121/
Work by George Wilson. This should also address
https://github.com/zfsonlinux/zfs/issues/1863
There appears to be a typo in the changed line:
if (!vd->vdev_ops->vdev_op_leaf || || !spa_writeable(spa))
should read:
if (!vd->vdev_ops->vdev_op_leaf || !spa_writeable(spa))
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer