zpool_find_import_impl: another /dev/dsk -> /dev fix
This seems to fix zdb -e behavior. PR: bin/155104 Submitted by: swell.k@gmail.com MFC after: 2 weeks
This commit is contained in:
parent
0002b76d93
commit
5e1ba35cea
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235479
@ -1145,7 +1145,7 @@ zpool_find_import_impl(libzfs_handle_t *hdl, importargs_t *iarg)
|
|||||||
char *end, **dir = iarg->path;
|
char *end, **dir = iarg->path;
|
||||||
size_t pathleft;
|
size_t pathleft;
|
||||||
nvlist_t *ret = NULL;
|
nvlist_t *ret = NULL;
|
||||||
static char *default_dir = "/dev/dsk";
|
static char *default_dir = "/dev";
|
||||||
pool_list_t pools = { 0 };
|
pool_list_t pools = { 0 };
|
||||||
pool_entry_t *pe, *penext;
|
pool_entry_t *pe, *penext;
|
||||||
vdev_entry_t *ve, *venext;
|
vdev_entry_t *ve, *venext;
|
||||||
|
Loading…
Reference in New Issue
Block a user