Skip to content
Commit aaafa1eb authored by Naohiro Aota's avatar Naohiro Aota Committed by David Sterba
Browse files

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: default avatarFilipe Manana <fdmanana@suse.com>
Signed-off-by: default avatarNaohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
[ keep goto in the main code, update changelog ]
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 71aa147b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment