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

Peter Rajnoha prajnoha at fedoraproject.org
Fri Feb 27 12:47:31 UTC 2015


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=5b154ae4a3d875009aa7a7d081c8e76cdb6dd50f
Commit:        5b154ae4a3d875009aa7a7d081c8e76cdb6dd50f
Parent:        9ea77b788b0822fe06e8efb92d13f80dbc62e351
Author:        Peter Rajnoha <prajnoha at redhat.com>
AuthorDate:    Fri Feb 27 13:48:47 2015 +0100
Committer:     Peter Rajnoha <prajnoha at redhat.com>
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(-)

diff --git a/tools/reporter.c b/tools/reporter.c
index df5a58b..0e563ac 100644
--- a/tools/reporter.c
+++ b/tools/reporter.c
@@ -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;
 				/*




More information about the lvm-devel mailing list