]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: don't pass io_ctl to __btrfs_write_out_cache()
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Tue, 20 Jan 2026 08:19:46 +0000 (09:19 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:54:37 +0000 (07:54 +0100)
commitde62f138f95eacd71121d9fdc4815cb90a56ccbd
tree0e553c8e646f862dadefcd1faa55924189423f9f
parentea7ab405c55b6ac4b5c3e61ef37cf697067e3c71
btrfs: don't pass io_ctl to __btrfs_write_out_cache()

There's no need to pass both the block_group and block_group::io_ctl to
__btrfs_write_out_cache().

Remove passing io_ctl to __btrfs_write_out_cache() and dereference it
inside __btrfs_write_out_cache().

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