summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2024-03-18 11:52:00 +0000
committerDavid Sterba <dsterba@suse.com>2024-05-07 21:31:00 +0200
commit7938d38b94c98e7a48ddc0a43ddf54482b940b90 (patch)
tree585fbbe25f09c490b4926a8bd62976b71529d674 /fs/btrfs/extent_io.h
parent2066bbfccf4a7bb40e61475c1a2aa3e59fad9619 (diff)
downloadlinux-7938d38b94c98e7a48ddc0a43ddf54482b940b90.tar.gz
linux-7938d38b94c98e7a48ddc0a43ddf54482b940b90.tar.bz2
linux-7938d38b94c98e7a48ddc0a43ddf54482b940b90.zip
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>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r--fs/btrfs/extent_io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index e3530d427e1f..eb123b0499e1 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -241,7 +241,7 @@ int extent_writepages(struct address_space *mapping,
struct writeback_control *wbc);
int btree_write_cache_pages(struct address_space *mapping,
struct writeback_control *wbc);
-void extent_readahead(struct readahead_control *rac);
+void btrfs_readahead(struct readahead_control *rac);
int extent_fiemap(struct btrfs_inode *inode, struct fiemap_extent_info *fieinfo,
u64 start, u64 len);
int set_folio_extent_mapped(struct folio *folio);