]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: qgroup: use goto style to handle errors in add_delayed_ref()
authorJunchao Sun <sunjunchao2870@gmail.com>
Fri, 7 Jun 2024 14:30:20 +0000 (22:30 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 10 Sep 2024 14:51:18 +0000 (16:51 +0200)
commit14ed830d10322007565af3a0da39948f229a72d6
treeb4cec01b31843e6fcb6b2eb6c5083fd42d8600b0
parent8189197425e79f65281938ef29015ebfcf5deaa3
btrfs: qgroup: use goto style to handle errors in add_delayed_ref()

Clean up resources using goto to get rid of repeated code.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Junchao Sun <sunjunchao2870@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-ref.c