|
@@ -1065,7 +1065,7 @@ out:
|
|
static int action_dev(struct multipath *m, struct dm_dev *dev,
|
|
static int action_dev(struct multipath *m, struct dm_dev *dev,
|
|
action_fn action)
|
|
action_fn action)
|
|
{
|
|
{
|
|
- int r = 0;
|
|
|
|
|
|
+ int r = -EINVAL;
|
|
struct pgpath *pgpath;
|
|
struct pgpath *pgpath;
|
|
struct priority_group *pg;
|
|
struct priority_group *pg;
|
|
|
|
|
|
@@ -1669,7 +1669,7 @@ out:
|
|
*---------------------------------------------------------------*/
|
|
*---------------------------------------------------------------*/
|
|
static struct target_type multipath_target = {
|
|
static struct target_type multipath_target = {
|
|
.name = "multipath",
|
|
.name = "multipath",
|
|
- .version = {1, 2, 0},
|
|
|
|
|
|
+ .version = {1, 3, 0},
|
|
.module = THIS_MODULE,
|
|
.module = THIS_MODULE,
|
|
.ctr = multipath_ctr,
|
|
.ctr = multipath_ctr,
|
|
.dtr = multipath_dtr,
|
|
.dtr = multipath_dtr,
|