diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-03-24 13:16:16 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-03-24 13:16:16 +1100 |
commit | 59e8ec325ed6ebbf17674debbff6f505983fe56f (patch) | |
tree | ac702c411575c73c774ff21ea73d699536406301 /drivers/md/multipath.c | |
parent | e8eb3cf318992c77c8116929ea0238d6a9bf14ce (diff) | |
parent | 113b4e570a4e2953a227330f33deddc0f21300d6 (diff) |
Merge remote branch 'md/for-next'
Diffstat (limited to 'drivers/md/multipath.c')
-rw-r--r-- | drivers/md/multipath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c index 5558ebc705c8..97befd5cc0e3 100644 --- a/drivers/md/multipath.c +++ b/drivers/md/multipath.c @@ -84,7 +84,7 @@ static void multipath_end_bh_io (struct multipath_bh *mp_bh, int err) static void multipath_end_request(struct bio *bio, int error) { int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); - struct multipath_bh * mp_bh = (struct multipath_bh *)(bio->bi_private); + struct multipath_bh *mp_bh = bio->bi_private; multipath_conf_t *conf = mp_bh->mddev->private; mdk_rdev_t *rdev = conf->multipaths[mp_bh->path].rdev; |