]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07b3604f9c40e3de1d61a6bf41930828c3ed73ee
treeccbd811277924b32b28ff76989442812f52652bc
parent9d6a4520469fe36c8fd922b55e76edb298f78417
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