commit | ea9947b4395fa34666086b2fa6f686e94903e047 | [log] [tgz] |
---|---|---|
author | Stefan Behrens <sbehrens@giantdisaster.de> | Fri May 04 15:16:07 2012 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Fri May 04 15:16:07 2012 -0400 |
tree | 086ab5150fc7f37b2070ab1200bf8b5275c85f06 | |
parent | d04b1debc92535453df2494d0b019edf0bb91003 [diff] |
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 <marco.crociani@gmail.com> Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> Signed-off-by: Chris Mason <chris.mason@oracle.com>