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

reports: FIXME for unnecessary cache wipes.

This commit is contained in:
Alasdair G Kergon 2014-04-04 01:41:06 +01:00
parent 3f0f558786
commit d36f721bb9

View File

@ -271,6 +271,9 @@ static int _report(struct cmd_context *cmd, int argc, char **argv,
report_type == LABEL || report_type == LABEL ||
report_type == PVSEGS) ? 1 : 0; report_type == PVSEGS) ? 1 : 0;
/*
* FIXME Trigger scans based on unrecognised listed devices instead.
*/
if (args_are_pvs && argc) if (args_are_pvs && argc)
cmd->filter->wipe(cmd->filter); cmd->filter->wipe(cmd->filter);