mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-25 21:57:45 +03:00
Always query device by using uuid only and not name in clvmd.
Otherwise confusion with the device of the same name (but different UUID, e.g. non-lvm device) can happen.
This commit is contained in:
parent
e01bdd2fab
commit
4b373907f6
@ -1,5 +1,6 @@
|
||||
Version 2.02.60 - 23rd January 2010
|
||||
===================================
|
||||
Always query device by using uuid only and not name in clvmd.
|
||||
Add missing metadata reverts in pvmove error path.
|
||||
Unlock shared lock in clvmd if activation calls failed.
|
||||
Fix return code of info call for query by uuid.
|
||||
|
@ -492,7 +492,7 @@ int lv_info_by_lvid(struct cmd_context *cmd, const char *lvid_s,
|
||||
if (!(lv = lv_from_lvid(cmd, lvid_s, 0)))
|
||||
return 0;
|
||||
|
||||
r = _lv_info(cmd, lv, 0, info, with_open_count, with_read_ahead, 0);
|
||||
r = _lv_info(cmd, lv, 0, info, with_open_count, with_read_ahead, 1);
|
||||
vg_release(lv->vg);
|
||||
|
||||
return r;
|
||||
|
Loading…
x
Reference in New Issue
Block a user