[PATCH 19/57] multipathd: Do not print misleading message 'not found in pathvec'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When looking up a path in the existing configuration it is perfectly
possible for the path not to be present.
This should not generate a message as it might be errorneously
interpreted as an error.

Signed-off-by: Hannes Reinecke <hare@xxxxxxx>
---
 libmultipath/structs.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libmultipath/structs.c b/libmultipath/structs.c
index b773d1c..39b2e05 100644
--- a/libmultipath/structs.c
+++ b/libmultipath/structs.c
@@ -404,7 +404,6 @@ find_path_by_dev (vector pathvec, char * dev)
 		if (!strcmp(pp->dev, dev))
 			return pp;
 
-	condlog(3, "%s: not found in pathvec", dev);
 	return NULL;
 }
 
@@ -421,7 +420,6 @@ find_path_by_devt (vector pathvec, char * dev_t)
 		if (!strcmp(pp->dev_t, dev_t))
 			return pp;
 
-	condlog(3, "%s: not found in pathvec", dev_t);
 	return NULL;
 }
 
-- 
2.6.6

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux