diff options
| author | Naohiro Aota <[email protected]> | 2022-06-21 06:41:02 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-07-25 15:45:38 +0000 |
| commit | aaafa1ebd6dbbe57d8b7587815b12e647b8b7b4a (patch) | |
| tree | 3dec6c555b91d5c1a8aacb1ed1fa5f0abc8ec117 /fs/btrfs/dev-replace.c | |
| parent | btrfs: fix error handling of fallback uncompress write (diff) | |
| download | kernel-aaafa1ebd6dbbe57d8b7587815b12e647b8b7b4a.tar.gz kernel-aaafa1ebd6dbbe57d8b7587815b12e647b8b7b4a.zip | |
btrfs: replace unnecessary goto with direct return at cow_file_range()
The 'goto out' in cow_file_range() in the exit block are not necessary
and jump back. Replace them with return, while still keeping 'goto out'
in the main code.
Reviewed-by: Filipe Manana <[email protected]>
Signed-off-by: Naohiro Aota <[email protected]>
Reviewed-by: David Sterba <[email protected]>
[ keep goto in the main code, update changelog ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
