diff options
author | Qu Wenruo <wqu@suse.com> | 2020-10-21 14:24:53 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-12-08 15:53:54 +0100 |
commit | 8896a08d8ea95809adbc3742cdf9c7575f66c960 (patch) | |
tree | 0bc82bf00fc834dd9fa03a1423175083bfb4a6a1 /tools/bootconfig | |
parent | 3f6bb4aeb5dfa392dac438e816959ccb9c690896 (diff) |
btrfs: replace fs_info and private_data with inode in btrfs_wq_submit_bio
All callers of btrfs_wq_submit_bio() pass struct inode as @private_data,
so there is no need for it to be (void *), replace it with "struct inode
*inode".
While we can extract fs_info from struct inode, also remove the @fs_info
parameter.
Since we're here, also replace all the (void *private_data) into (struct
inode *inode).
Reviewed-by: Goldwyn Rodrigues <rgoldwyn@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>
Diffstat (limited to 'tools/bootconfig')
0 files changed, 0 insertions, 0 deletions