1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

pvck: fix previous commit

line to setup bcache was misplaced in
commit 5a94126e7a
This commit is contained in:
David Teigland 2020-10-28 16:50:47 -05:00
parent 125da10d47
commit 6316959438

View File

@ -3064,11 +3064,11 @@ int pvck(struct cmd_context *cmd, int argc, char **argv)
return ECMD_FAILED;
}
label_scan_setup_bcache();
if (dev) {
char buf[4096];
label_scan_setup_bcache();
/*
* This buf is not used, but bcache data is used for subsequent
* reads in the filters and by _read_bytes for other disk structs.