[PATCH 2/5] multipath-tools: Clarify template rules of hwtable

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

 



Cc: Christophe Varoqui <christophe.varoqui@xxxxxxxxxxx>
Cc: device-mapper development <dm-devel@xxxxxxxxxx>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@xxxxxxxxx>
---
 libmultipath/hwtable.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 8eec209..6f9adc9 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -762,7 +762,8 @@ static struct hwentry default_hw[] = {
 	 * Copy this TEMPLATE to add new hardware.
 	 *
 	 * Keep only mandatory and modified attributes.
-	 * Standard attributes must be removed.
+	 * Attributes with default values must be removed.
+	 * .vendor and .product are mandatory, all other are optional.
 	 *
 	 * COMPANY_NAME
 	 *
@@ -770,8 +771,8 @@ static struct hwentry default_hw[] = {
 	 * Mail : XXX
 	 */
 	{
-		.vendor        = "VENDOR", (Mandatory)
-		.product       = "PRODUCT", (Mandatory)
+		.vendor        = "VENDOR",
+		.product       = "PRODUCT",
 		.revision      = "REVISION",
 		.bl_product    = "BL_PRODUCT",
 		.pgpolicy      = GROUP_BY_PRIO,
-- 
2.7.4

--
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