From: Miao Xie Date: Fri, 12 Sep 2014 10:44:02 +0000 (+0800) Subject: Btrfs: Set real mirror number for read operation on RAID0/5/6 X-Git-Tag: fixes-against-v3.18-rc2~120^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28e1cc7d1baf8038ae4ad4681c8f3dc94fcd7c00;p=pandora-kernel.git Btrfs: Set real mirror number for read operation on RAID0/5/6 We need real mirror number for RAID0/5/6 when reading data, or if read error happens, we would pass 0 as the number of the mirror on which the io error happens. It is wrong and would cause the filesystem read the data from the corrupted mirror again. Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-diff-tree failed