summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.h
diff options
context:
space:
mode:
authorStefan Behrens <sbehrens@giantdisaster.de>2012-05-04 21:16:07 +0200
committerChris Mason <chris.mason@oracle.com>2012-05-04 21:16:07 +0200
commitea9947b4395fa34666086b2fa6f686e94903e047 (patch)
tree086ab5150fc7f37b2070ab1200bf8b5275c85f06 /fs/btrfs/disk-io.h
parentbtrfs: Fix mismatching struct members in ioctl.h (diff)
downloadlinux-ea9947b4395fa34666086b2fa6f686e94903e047.tar.xz
linux-ea9947b4395fa34666086b2fa6f686e94903e047.zip
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>
Diffstat (limited to 'fs/btrfs/disk-io.h')
0 files changed, 0 insertions, 0 deletions