dm thin: use dm_target_offset
authorAlasdair G Kergon <agk@redhat.com>
Wed, 28 Mar 2012 17:41:28 +0000 (18:41 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 28 Mar 2012 17:41:28 +0000 (18:41 +0100)
commit6efd6e83092cd4a7532270bc843de90bb93f6683
tree129b9de5d03a11f0bf02feb3743a10e4fe8561d5
parent2dd9c257fbc243aa76ee6db0bb8371f9f74fad2d
dm thin: use dm_target_offset

Use dm_target_offset wrapper instead of referencing the awkward ti->begin
explicitly.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin.c