From: Jan Schmidt Date: Thu, 16 Jun 2011 10:05:19 +0000 (+0200) Subject: btrfs: Put mirror_num in bi_bdev X-Git-Tag: v3.2-rc1~21^2~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2774b2ca3d49124bf1ae89e8d575b3dab4221266;p=pandora-kernel.git 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: Jan Schmidt --- Reading git-diff-tree failed