]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: change return type of cache_save_setup to void
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Tue, 10 Feb 2026 13:19:46 +0000 (14:19 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 Apr 2026 16:55:56 +0000 (18:55 +0200)
commit74e505fc89e2e6383b4f10f23318dfc3b62f70dc
treead0979347dbf95d02ddb1fb2375dfb6280f2e362
parent0eb6c12491ca44140a5facdaee3c8cb6f41202d2
btrfs: change return type of cache_save_setup to void

None of the callers of `cache_save_setup` care about the return type as
the space cache is purely and optimization.
Also the free space cache is a deprecated feature that is being phased
out.

Change the return type of `cache_save_setup` to void to reflect this.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c