]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
btrfs: make read_block_group_item return void
authorMarcos Paulo de Souza <mpdesouza@suse.com>
Mon, 17 Aug 2020 13:56:10 +0000 (10:56 -0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:06:56 +0000 (12:06 +0200)
commit4c448ce8b48fb65536c903f1ed8a80554838508e
tree51413390f5f7785f11d417a3d590752eeb4dbd75
parent24646481fb19a3bd86933ec30480454381ff9860
btrfs: make read_block_group_item return void

Since it's inclusion on 9afc66498a0b ("btrfs: block-group: refactor how
we read one block group item") this function always returned 0, so there
is no need to check for the returned value.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c