dm: move target request nr to dm_target_io
commitddbd658f6446a35e4d6ba84812fd71023320cae2
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 21 Dec 2012 20:23:39 +0000 (21 20:23 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 21 Dec 2012 20:23:39 +0000 (21 20:23 +0000)
tree6c5bf9fd1cab10d20c21eb8582a5cc73f1bccc85
parent42bc954f2a4525c9034667dedc9bd1c342208013
dm: move target request nr to dm_target_io

This patch moves target_request_nr from map_info to dm_target_io and
makes it accessible with dm_bio_get_target_request_nr.

This patch is a preparation for the next patch that removes map_info.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-snap.c
drivers/md/dm-stripe.c
drivers/md/dm.c
include/linux/device-mapper.h