[libmultipath] the entry for EMC Envista is broken
authorHannes Reinecke <hare@suse.de>
Wed, 3 Feb 2010 14:26:11 +0000 (15:26 +0100)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Wed, 3 Feb 2010 14:26:11 +0000 (15:26 +0100)
It is referring to an unknown field 'getprio'.
Fix that up and use 'prio_name = DEFAULT_PRIO' instead

libmultipath/hwtable.c

index ec8fddd..91d33ea 100644 (file)
@@ -308,7 +308,6 @@ static struct hwentry default_hw[] = {
                .product       = "Invista",
                .bl_product    = "LUNZ",
                .getuid        = DEFAULT_GETUID,
-               .getprio       = NULL,
                .features      = DEFAULT_FEATURES,
                .hwhandler     = DEFAULT_HWHANDLER,
                .selector      = DEFAULT_SELECTOR,
@@ -318,6 +317,7 @@ static struct hwentry default_hw[] = {
                .no_path_retry = 5,
                .minio         = DEFAULT_MINIO,
                .checker_name  = TUR,
+               .prio_name     = DEFAULT_PRIO,
        },
        /*
         * Hitachi controller family