diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2014-03-04 18:24:49 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-03-27 16:56:24 -0400 |
commit | bfc6d41cee53b2d02edc469fa459000a448a90ab (patch) | |
tree | 240bde16ddcfcf33fc3cda54a9228641e1fe42b0 /kernel/module.c | |
parent | d70ab4fb723cf7acfa656cb2ad1e75be7ed94bef (diff) | |
download | op-kernel-dev-bfc6d41cee53b2d02edc469fa459000a448a90ab.zip op-kernel-dev-bfc6d41cee53b2d02edc469fa459000a448a90ab.tar.gz |
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 <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions