]> 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)
commit7b4990fc3e11979a953e417372a96f7247d932f9
tree6c5bf9fd1cab10d20c21eb8582a5cc73f1bccc85
parent619fb60c74fc17ed2caee538a64a72544335df94
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