mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
btrfs: cleanup duplicated parameters related to create_io_em()
Most parameters of create_io_em() can be replaced by the members with the same name inside btrfs_file_extent. Do a direct parameters cleanup here. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Filipe Manana <fdmanana@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>
This commit is contained in:
@@ -264,7 +264,7 @@ static void insert_ordered_extent(struct btrfs_ordered_extent *entry)
|
||||
*/
|
||||
struct btrfs_ordered_extent *btrfs_alloc_ordered_extent(
|
||||
struct btrfs_inode *inode, u64 file_offset,
|
||||
struct btrfs_file_extent *file_extent, unsigned long flags)
|
||||
const struct btrfs_file_extent *file_extent, unsigned long flags)
|
||||
{
|
||||
struct btrfs_ordered_extent *entry;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user