From: Stefan Behrens Date: Fri, 4 May 2012 19:16:07 +0000 (-0400) Subject: Btrfs: fix crash in scrub repair code when device is missing X-Git-Tag: v3.4-rc6~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea9947b4395fa34666086b2fa6f686e94903e047;p=pandora-kernel.git Btrfs: fix crash in scrub repair code when device is missing Fix that when scrub tries to repair an I/O or checksum error and one of the devices containing the mirror is missing, it crashes in bio_add_page because the bdev is a NULL pointer for missing devices. Reported-by: Marco L. Crociani Signed-off-by: Stefan Behrens Signed-off-by: Chris Mason --- Reading git-diff-tree failed