Skip to content
Commit 2774b2ca authored by Jan Schmidt's avatar Jan Schmidt
Browse files

btrfs: Put mirror_num in bi_bdev



The error correction code wants to make sure that only the bad mirror is
rewritten. Thus, we need to know which mirror is the bad one. I did not
find a more apropriate field than bi_bdev. But I think using this is fine,
because it is modified by the block layer, anyway, and should not be read
after the bio returned.

Signed-off-by: default avatarJan Schmidt <list.btrfs@jan-o-sch.net>
parent 1503140d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment