mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
lvmetad: Fix an obscure error message.
This commit is contained in:
parent
e0c2211c34
commit
8791d01fee
@ -918,8 +918,7 @@ static response pv_found(lvmetad_state *s, request r)
|
|||||||
else {
|
else {
|
||||||
unlock_vg(s, vgid);
|
unlock_vg(s, vgid);
|
||||||
return daemon_reply_simple("failed", "reason = %s",
|
return daemon_reply_simple("failed", "reason = %s",
|
||||||
// FIXME provide meaningful-to-user error message
|
"non-orphan VG without metadata encountered", NULL);
|
||||||
"internal treason!", NULL);
|
|
||||||
}
|
}
|
||||||
unlock_vg(s, vgid);
|
unlock_vg(s, vgid);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user