libbe: set mountpoint=none in be_import

If we're going to set a mountpoint at all, mountpoint=none makes more sense
than mountpoint=/.

MFC after:	 3 days
This commit is contained in:
Kyle Evans 2019-05-02 17:50:56 +00:00
parent 011fdcbf1c
commit ac34fe239d

View File

@ -822,7 +822,7 @@ be_import(libbe_handle_t *lbh, const char *bootenv, int fd)
nvlist_alloc(&props, NV_UNIQUE_NAME, KM_SLEEP);
nvlist_add_string(props, "canmount", "noauto");
nvlist_add_string(props, "mountpoint", "/");
nvlist_add_string(props, "mountpoint", "none");
err = zfs_prop_set_list(zfs, props);
nvlist_free(props);