dm mpath: pass struct pgpath to pg init done
authorMoger, Babu <Babu.Moger@lsi.com>
Sat, 6 Mar 2010 02:29:45 +0000 (02:29 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Sat, 6 Mar 2010 02:29:45 +0000 (02:29 +0000)
commit83c0d5d5388a8d45f7a45e0ec34adc52a78c81ad
tree85a59c18293f0c14a547fdd43631b59c21d1136d
parent64ba9926759792cf7b95f823402e2781edd1b5d4
dm mpath: pass struct pgpath to pg init done

This patch removes some unnecessary argument casting. There is no
functional change with this patch.

Passes 'struct pgpath' through to pg_init_done() instead of the enclosed
'struct dm_path'.

Tested the changes with LSI storage..

CC: Chandra Seetharaman <chandra.seetharaman@us.ibm.com>
Signed-off-by: Babu Moger <babu.moger@lsi.com>
Acked-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-mpath.c