diff options
Diffstat (limited to 'drivers/md/dm-mpath.c')
-rw-r--r-- | drivers/md/dm-mpath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 4b0b63c290a6..52f0de394632 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c | |||
@@ -1065,7 +1065,7 @@ out: | |||
1065 | static int action_dev(struct multipath *m, struct dm_dev *dev, | 1065 | static int action_dev(struct multipath *m, struct dm_dev *dev, |
1066 | action_fn action) | 1066 | action_fn action) |
1067 | { | 1067 | { |
1068 | int r = 0; | 1068 | int r = -EINVAL; |
1069 | struct pgpath *pgpath; | 1069 | struct pgpath *pgpath; |
1070 | struct priority_group *pg; | 1070 | struct priority_group *pg; |
1071 | 1071 | ||
@@ -1669,7 +1669,7 @@ out: | |||
1669 | *---------------------------------------------------------------*/ | 1669 | *---------------------------------------------------------------*/ |
1670 | static struct target_type multipath_target = { | 1670 | static struct target_type multipath_target = { |
1671 | .name = "multipath", | 1671 | .name = "multipath", |
1672 | .version = {1, 2, 0}, | 1672 | .version = {1, 3, 0}, |
1673 | .module = THIS_MODULE, | 1673 | .module = THIS_MODULE, |
1674 | .ctr = multipath_ctr, | 1674 | .ctr = multipath_ctr, |
1675 | .dtr = multipath_dtr, | 1675 | .dtr = multipath_dtr, |