summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEtienne Dechamps <[email protected]>2012-07-06 16:22:03 +0200
committerBrian Behlendorf <[email protected]>2012-07-12 08:59:16 -0700
commit7608bd0dd01829a130cd8a4d244e197ce8fa590a (patch)
tree8e895f8fe4e4e2f471257f3fd4b36b8f2c926c82 /etc
parent8adf48642253c2ef9571ece5b233e0bf1f0217a8 (diff)
Use the right device path when relabeling.
Currently, zpool_vdev_online() calls zpool_relabel_disk() with a short partition device name, which is obviously wrong because (1) zpool_relabel_disk() expects a full, absolute path to use with open() and (2) efi_write() must be called on an opened disk device, not a partition device. With this patch, zpool_relabel_disk() gets called with a full disk device path. The path is determined using the same algorithm as zpool_find_vdev(). Signed-off-by: Brian Behlendorf <[email protected]> Issue #808
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions