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

o lift call to check out of pvcreate_single

This commit is contained in:
Joe Thornber 2001-10-12 10:45:04 +00:00
parent 0d5f9868b8
commit 48c4f95d4d

View File

@ -62,9 +62,6 @@ static void pvcreate_single(const char *name)
{
struct physical_volume *pv;
if (!_check(name))
return;
if (arg_count(force_ARG)) {
log_print("WARNING: forcing physical volume creation on %s",
name);
@ -106,6 +103,10 @@ int pvcreate(int argc, char **argv)
}
for (i = 0; i < argc; i++) {
if (!_check(argv[i]))
continue;
pvcreate_single(argv[i]);
pool_empty(ios->mem);
}