diff options
author | Richard Yao <[email protected]> | 2014-04-28 19:27:58 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-05-01 13:26:33 -0700 |
commit | c6e924fea8fd2abc1359ad08e51bf326cbeb3ed4 (patch) | |
tree | a6d07fab39d2e46c2f3f036c40f61c2b886b1094 /cmd/zpool/zpool_vdev.c | |
parent | 12f9a6a3f954b3bb8de94e3bfc072d42b7231abc (diff) |
Fix libblkid ZFS detection when making new pools
zfsonlinux/zfs@1db7b9be75a225cedb3b7a60028ca5695e5b8346 should have
fixed this, but this particular string was overlooked.
Signed-off-by: Richard Yao <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2288
Diffstat (limited to 'cmd/zpool/zpool_vdev.c')
-rw-r--r-- | cmd/zpool/zpool_vdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zpool/zpool_vdev.c b/cmd/zpool/zpool_vdev.c index 316e291c3..862c57683 100644 --- a/cmd/zpool/zpool_vdev.c +++ b/cmd/zpool/zpool_vdev.c @@ -377,7 +377,7 @@ check_slice(const char *path, blkid_cache cache, int force, boolean_t isspare) * using check_file() to see if it's safe. The one safe * case is a spare device shared between multiple pools. */ - if (strcmp(value, "zfs") == 0) { + if (strcmp(value, "zfs_member") == 0) { err = check_file(path, force, isspare); } else { if (force) { |