dm flakey: use dm_target_offset and support discards
authorMike Snitzer <snitzer@redhat.com>
Tue, 2 Aug 2011 11:32:05 +0000 (12:32 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 2 Aug 2011 11:32:05 +0000 (12:32 +0100)
commit30e4171bfe3d1c49689803338005cc0071dddaff
tree8ba89dcca8774a94cbd5bb7685a9ea27570d772c
parent498f0103ea13123e007660def9072a0b7dd1c599
dm flakey: use dm_target_offset and support discards

Use dm_target_offset() and support discards.

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