From: Mikulas Patocka Date: Tue, 4 Mar 2014 23:24:49 +0000 (-0500) Subject: dm: stop using bi_private X-Git-Tag: v3.15-rc1~69^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfc6d41cee53b2d02edc469fa459000a448a90ab;p=pandora-kernel.git dm: stop using bi_private Device mapper uses the bio structure's bi_private field as a pointer to dm_target_io or dm_rq_clone_bio_info. But a bio structure is embedded in the dm_target_io and dm_rq_clone_bio_info structures, so the pointer to the structure that contains the bio can be found with the container_of() macro. Remove the use of bi_private and use container_of() instead. Signed-off-by: Mikulas Patocka Signed-off-by: Mike Snitzer --- Reading git-diff-tree failed