From aa288632ab362a958d8f17f59471692a3f916404 Mon Sep 17 00:00:00 2001 From: Michal Miroslaw Date: Sun, 13 Aug 2006 23:24:20 -0700 Subject: [PATCH] --- yaml --- r: 33351 b: refs/heads/master c: 485311a23c72c87332f9a55ce25e650e40ae3fc7 h: refs/heads/master i: 33349: 4c4bad32b10f500be1068892f7f921d799b25ce5 33347: 2aa8b7a80259ccdc64d1841f56ed137d46a416e1 33343: cca5cbe1c600e386833916f514dd049f9a1da7c0 v: v3 --- [refs] | 2 +- trunk/drivers/md/dm-mpath.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0dda47b24d3b..c34c8df48d45 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 657b3010d8f8a72195dfcbe63040127d596f0b14 +refs/heads/master: 485311a23c72c87332f9a55ce25e650e40ae3fc7 diff --git a/trunk/drivers/md/dm-mpath.c b/trunk/drivers/md/dm-mpath.c index 217615b33223..93f701ea87bc 100644 --- a/trunk/drivers/md/dm-mpath.c +++ b/trunk/drivers/md/dm-mpath.c @@ -710,6 +710,8 @@ static int multipath_ctr(struct dm_target *ti, unsigned int argc, return -EINVAL; } + m->ti = ti; + r = parse_features(&as, m, ti); if (r) goto bad; @@ -751,7 +753,6 @@ static int multipath_ctr(struct dm_target *ti, unsigned int argc, } ti->private = m; - m->ti = ti; return 0;