Skip to contentSkip to conversation

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

PATCH Peter Rajnoha 1 participant 1 message Feb 27, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=5b154ae4a3d875009aa7a7d081c8e76cdb6dd50f
Commit:        5b154ae4a3d875009aa7a7d081c8e76cdb6dd50f
Parent:        9ea77b788b0822fe06e8efb92d13f80dbc62e351
Author:        Peter Rajnoha <[email protected]>
AuthorDate:    Fri Feb 27 13:48:47 2015 +0100
Committer:     Peter Rajnoha <[email protected]>
CommitterDate: Fri Feb 27 13:48:47 2015 +0100

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

---
 tools/reporter.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
tools/reporter.c +4 -0
index df5a58b..0e563ac 100644
@@ -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;
 				/*