dm: use dm_target_offset macro
authorAlasdair G Kergon <agk@redhat.com>
Thu, 12 Aug 2010 03:14:11 +0000 (04:14 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 12 Aug 2010 03:14:11 +0000 (04:14 +0100)
commitb441a262e7d1c56fbe21794c91d7a9c83809113f
treecc9acb2c3f7045ff513739fd81bba8a789d713b6
parent56a67df766039666f61fb15b079f713e44a735ae
dm: use dm_target_offset macro

Use new dm_target_offset() macro to avoid most references to ti->begin
in dm targets.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-crypt.c
drivers/md/dm-delay.c
drivers/md/dm-linear.c
drivers/md/dm-raid1.c
drivers/md/dm-stripe.c