diff options
author | Alasdair Kergon <agk@redhat.com> | 2012-03-02 16:58:41 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2012-03-02 16:58:41 +0000 |
commit | d06f64dd29a689ab0e97659a37ccb83819b75c3a (patch) | |
tree | e02578d71ce48575496b0d5a9b77aa7154423faa /tools/pvremove.c | |
parent | 6a5706a3a52607d1d7a2517aad4ba2727e0986e2 (diff) | |
download | lvm2-d06f64dd29a689ab0e97659a37ccb83819b75c3a.tar.gz lvm2-d06f64dd29a689ab0e97659a37ccb83819b75c3a.tar.xz lvm2-d06f64dd29a689ab0e97659a37ccb83819b75c3a.zip |
Allow multiple device names with pvscan --lvmetad.
Hold global lock in pvscan --lvmetad. (This might need refinement.)
Add PV name to "PV gone" messages.
Adjust some log message severities. (More changes needed.)
Diffstat (limited to 'tools/pvremove.c')
-rw-r--r-- | tools/pvremove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvremove.c b/tools/pvremove.c index efd8cb7f..f90f88a2 100644 --- a/tools/pvremove.c +++ b/tools/pvremove.c @@ -129,7 +129,7 @@ static int pvremove_single(struct cmd_context *cmd, const char *pv_name, } /* FIXME Avoid error if we expect that daemon might not know device */ - if (!lvmetad_pv_gone(dev->dev)) + if (!lvmetad_pv_gone(dev)) goto_out; log_print("Labels on physical volume \"%s\" successfully wiped", |