1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-26 22:50:36 +03:00

report: one more comment explaining change of report type when tags are used for original LABEL reporting

This commit is contained in:
Peter Rajnoha 2015-02-27 13:48:47 +01:00
parent 9ea77b788b
commit 5b154ae4a3

View File

@ -585,6 +585,10 @@ static void _check_pv_list(struct cmd_context *cmd, int argc, char **argv,
rescan_done = 1;
}
if (*argv[i] == '@') {
/*
* Tags are metadata related, not label
* related, change report type accordingly!
*/
if (*report_type == LABEL)
*report_type = PVS;
/*