summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2012-12-21 20:23:40 +0000
committerAlasdair G Kergon <agk@redhat.com>2012-12-21 20:23:40 +0000
commit0045d61b5b7470f7228b35e1ab7139119e249503 (patch)
treed4e0f926484cf243141e83aeda5fd82703fc9151 /sound
parentc7cfdf5973f644a21ef4a0a0f1aa1f081efc42c1 (diff)
downloadlinux-stable-0045d61b5b7470f7228b35e1ab7139119e249503.tar.gz
linux-stable-0045d61b5b7470f7228b35e1ab7139119e249503.tar.bz2
linux-stable-0045d61b5b7470f7228b35e1ab7139119e249503.zip
dm raid1: dont use map_context
Don't use map_info any more in dm-raid1. map_info was used for writes to hold the region number. For this purpose we add a new field dm_bio_details to dm_raid1_bio_record. map_info was used for reads to hold a pointer to dm_raid1_bio_record (if the pointer was non-NULL, bio details were saved; if the pointer was NULL, bio details were not saved). We use dm_raid1_bio_record.details->bi_bdev for this purpose. If bi_bdev is NULL, details were not saved, if bi_bdev is non-NULL, details were saved. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions