dm: remove dm_get_mapinfo
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 3 Mar 2014 22:43:31 +0000 (17:43 -0500)
committerMike Snitzer <snitzer@redhat.com>
Thu, 27 Mar 2014 20:56:24 +0000 (16:56 -0400)
commitd70ab4fb723cf7acfa656cb2ad1e75be7ed94bef
treef32ef8e5e00e7b3ff0e35b61e5ff13f9738fdf48
parent473c36dfeecf4e49db928f3284b2fbe981f8c284
dm: remove dm_get_mapinfo

Remove dm_get_mapinfo() because no target uses it.  Targets can allocate
per-bio data using ti->per_bio_data_size, this is much more flexible
than union map_info.

Leave union map_info only for the request-based multipath target's use.
Also delete the unused "unsigned long long ll" field of union map_info.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c
include/linux/device-mapper.h