1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

pvcreate: fix test for wiping status

Commit ed420fb691 changed
paramet wiped to be a pointer, but missed to switch
to test pointer dereferenced value and instead always
checked 'pointer'.
This commit is contained in:
Zdenek Kabelac 2015-05-07 12:10:20 +02:00
parent bf5cb4af8e
commit 2cea1c1bd9
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.120 -
===============================
Fix check if pvcreate wiped device (2.02.117).
Fix storing of vgid when caching metadata (2.02.118).
Fix recursive lvm-config man page. (2.02.119)
Refactor polldaemon interfaces to poll every operation by VG/LV couple

View File

@ -1504,7 +1504,7 @@ static int _pvcreate_check(struct cmd_context *cmd, const char *name,
goto out;
}
if (wiped)
if (*wiped)
filter_refresh_needed = scan_needed = 1;
if (sigint_caught())