diff options
author | Omar Sandoval <osandov@fb.com> | 2015-06-19 11:52:48 -0700 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-08-09 07:34:26 -0700 |
commit | 03679ade86b2b1c370c8790f1ffcbcdef6d49f9f (patch) | |
tree | 880ee59349f2a9fa6b906f3ba70993ba5fbd3e1d /fs/btrfs/math.h | |
parent | 293a8489f300536dc6d996c35a6ebb89aa03bab2 (diff) | |
download | linux-03679ade86b2b1c370c8790f1ffcbcdef6d49f9f.tar.bz2 |
Btrfs: remove misleading handling of missing device scrub
scrub_submit() claims that it can handle a bio with a NULL block device,
but this is misleading, as calling bio_add_page() on a bio with a NULL
->bi_bdev would've already crashed. Delete this, as we're about to
properly handle a missing block device.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/math.h')
0 files changed, 0 insertions, 0 deletions