]> git.ipfire.org Git - people/ms/linux.git/commit - fs/btrfs/raid56.h
btrfs: remove btrfs_raid_bio::fs_info member
authorQu Wenruo <wqu@suse.com>
Thu, 23 Sep 2021 06:00:09 +0000 (14:00 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Oct 2021 17:08:03 +0000 (19:08 +0200)
commit6a258d725df90103ce8f7d6a2e736cf02ba18696
treeccbd811277924b32b28ff76989442812f52652bc
parent731ccf15c952d53a5f8e8bf98cf110f4048e5ded
btrfs: remove btrfs_raid_bio::fs_info member

We can grab fs_info reliably from btrfs_raid_bio::bioc, as the bioc is
always passed into alloc_rbio(), and only get released when the raid bio
is released.

Remove btrfs_raid_bio::fs_info member, and cleanup all the @fs_info
parameters for alloc_rbio() callers.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid56.c
fs/btrfs/raid56.h
fs/btrfs/scrub.c
fs/btrfs/volumes.c