aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-09-08 18:20:31 +0100
committerDavid Sterba <dsterba@suse.com>2023-10-12 16:44:06 +0200
commitcc925b9646b4d91dd2536bf7c5ec0dee103fd341 (patch)
treee0338a01f21155bb71456989c286c6a614dd48e8 /fs/btrfs/dev-replace.c
parent20fb05a6d10ea3ef517bda59a195234a416555c9 (diff)
downloadlinux-cc925b9646b4d91dd2536bf7c5ec0dee103fd341.tar.gz
linux-cc925b9646b4d91dd2536bf7c5ec0dee103fd341.tar.bz2
linux-cc925b9646b4d91dd2536bf7c5ec0dee103fd341.zip
btrfs: use a single variable for return value at lookup_inline_extent_backref()
At lookup_inline_extent_backref(), instead of using a 'ret' and an 'err' variable for tracking the return value, use a single one ('ret'). This simplifies the code, makes it comply with most of the existing code and it's less prone for logic errors as time has proven over and over in the btrfs code. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions