aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2020-07-02 16:46:42 +0300
committerDavid Sterba <[email protected]>2020-07-27 12:55:41 +0200
commitf90ae76a5c2c746c06f11a1709e9149ab2666ea4 (patch)
treed8be93758117ebf42f1423a3dd9a1cb21304747a /lib/debugobjects.c
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 <[email protected]> Signed-off-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions