btrfs: remove pointless readahead callback wrapper
authorFilipe Manana <fdmanana@suse.com>
Mon, 18 Mar 2024 11:52:00 +0000 (11:52 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 May 2024 19:31:00 +0000 (21:31 +0200)
commit7938d38b94c98e7a48ddc0a43ddf54482b940b90
tree585fbbe25f09c490b4926a8bd62976b71529d674
parent2066bbfccf4a7bb40e61475c1a2aa3e59fad9619
btrfs: remove pointless readahead callback wrapper

There's no point in having a static readahead callback in inode.c that
does nothing besides calling extent_readahead() from extent_io.c.
So just remove the callback at inode.c and rename extent_readahead()
to btrfs_readahead().

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c