diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2020-02-12 00:10:22 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-03-23 17:01:43 +0100 |
commit | fd8efa818c55300ffb69c11e573c5ed18cda541c (patch) | |
tree | 89539b4f6790f4422e9cd073cee54f3f09bd09f6 /fs/btrfs/locking.h | |
parent | 1afb648e94542863c6affd3b8c10d8d3011a6dcb (diff) |
btrfs: simplify error handling in __btrfs_write_out_cache()
The error cleanup gotos in __btrfs_write_out_cache() needlessly jump
back making the code less readable then needed. Flatten them out so no
back-jump is necessary and the read flow is uninterrupted.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/locking.h')
0 files changed, 0 insertions, 0 deletions