]> git.baikalelectronics.ru Git - kernel.git/commit
dm: move target request nr to dm_target_io
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 21 Dec 2012 20:23:39 +0000 (20:23 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 21 Dec 2012 20:23:39 +0000 (20:23 +0000)
commite8dbc806df8f133bd72dc254f62ad3e7e883349d
tree6c5bf9fd1cab10d20c21eb8582a5cc73f1bccc85
parentf40c1108bebbecc5c47b0bbed66bb783f6c9a908
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