summaryrefslogtreecommitdiff
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-07-02 16:46:42 +0300
committerDavid Sterba <dsterba@suse.com>2020-07-27 12:55:41 +0200
commitf90ae76a5c2c746c06f11a1709e9149ab2666ea4 (patch)
treed8be93758117ebf42f1423a3dd9a1cb21304747a /fs/Kconfig
parent608769a4e41cceca6908f1807ebe95e0a07a21d3 (diff)
btrfs: raid56: remove redundant device check in rbio_add_io_page
The merging logic is always executed if the current stripe's device is not missing. So there's no point in duplicating the check. Simply remove it, while at it reduce the scope of the 'last_end' variable. If the current stripe's device is missing we fail the stripe early on. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/Kconfig')
0 files changed, 0 insertions, 0 deletions