commit | fd8efa818c55300ffb69c11e573c5ed18cda541c | [log] [tgz] |
---|---|---|
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | Wed Feb 12 00:10:22 2020 +0900 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 23 17:01:43 2020 +0100 |
tree | 89539b4f6790f4422e9cd073cee54f3f09bd09f6 | |
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>