]> Git Repo - linux.git/commit
Btrfs: fix crash in scrub repair code when device is missing
authorStefan Behrens <[email protected]>
Fri, 4 May 2012 19:16:07 +0000 (15:16 -0400)
committerChris Mason <[email protected]>
Fri, 4 May 2012 19:16:07 +0000 (15:16 -0400)
commitea9947b4395fa34666086b2fa6f686e94903e047
tree086ab5150fc7f37b2070ab1200bf8b5275c85f06
parentd04b1debc92535453df2494d0b019edf0bb91003
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 <[email protected]>
Signed-off-by: Stefan Behrens <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/scrub.c
This page took 0.05306 seconds and 4 git commands to generate.