From 43712116f8c8fb9ae9e0853f1411f25ce3d01b7f Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Wed, 14 Sep 2022 19:04:39 -0400 Subject: [PATCH] btrfs: move btrfs_init_async_reclaim_work prototype to space-info.h The code for this helper is in space-info.c, move the prototype to space-info.h. Reviewed-by: Johannes Thumshirn Reviewed-by: Anand Jain Signed-off-by: Josef Bacik Reviewed-by: David Sterba Signed-off-by: David Sterba --- fs/btrfs/ctree.h | 2 -- fs/btrfs/space-info.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 2ef8f70934da4..a34ceaef81fe4 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -528,8 +528,6 @@ struct btrfs_discard_ctl { atomic64_t discard_bytes_saved; }; -void btrfs_init_async_reclaim_work(struct btrfs_fs_info *fs_info); - /* fs_info */ struct reloc_control; struct btrfs_device; diff --git a/fs/btrfs/space-info.h b/fs/btrfs/space-info.h index 8f59487409410..ce66023a9eb8b 100644 --- a/fs/btrfs/space-info.h +++ b/fs/btrfs/space-info.h @@ -158,5 +158,6 @@ static inline void btrfs_space_info_free_bytes_may_use( int btrfs_reserve_data_bytes(struct btrfs_fs_info *fs_info, u64 bytes, enum btrfs_reserve_flush_enum flush); void btrfs_dump_space_info_for_trans_abort(struct btrfs_fs_info *fs_info); +void btrfs_init_async_reclaim_work(struct btrfs_fs_info *fs_info); #endif /* BTRFS_SPACE_INFO_H */ -- 2.30.2