mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Revert "lvm: do not pass --cache to vgscan"
This reverts commit 19b0ae6c65.
This commit is contained in:
@@ -147,7 +147,7 @@ rescan (void)
|
||||
unlink (lvm_cache);
|
||||
|
||||
CLEANUP_FREE char *err = NULL;
|
||||
int r = command (NULL, &err, "lvm", "vgscan", NULL);
|
||||
int r = command (NULL, &err, "lvm", "vgscan", "--cache", NULL);
|
||||
if (r == -1) {
|
||||
reply_with_error ("vgscan: %s", err);
|
||||
return -1;
|
||||
|
||||
@@ -642,7 +642,7 @@ do_vgscan (void)
|
||||
int r;
|
||||
|
||||
r = command (NULL, &err,
|
||||
"lvm", "vgscan", NULL);
|
||||
"lvm", "vgscan", "--cache", NULL);
|
||||
if (r == -1) {
|
||||
reply_with_error ("%s", err);
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user