1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

dev_manager: do not query for open_count

Oepn count is not used along this code path.
This commit is contained in:
Zdenek Kabelac 2022-02-11 23:55:08 +01:00
parent 4fd76de4b6
commit fa7b67eeeb

View File

@ -2268,7 +2268,7 @@ static int _add_dev_to_dtree(struct dev_manager *dm, struct dm_tree *dtree,
return 1;
}
if (!_info(dm->cmd, name, dlid, 1, 0, 0, &info, NULL, NULL))
if (!_info(dm->cmd, name, dlid, 0, 0, 0, &info, NULL, NULL))
return_0;
/*