summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/space-info.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-09-14 19:04:39 -0400
committerDavid Sterba <dsterba@suse.com>2022-09-26 12:28:06 +0200
commit43712116f8c8fb9ae9e0853f1411f25ce3d01b7f (patch)
tree0c9ddebc6a95cf314963cc05e0c2bee0505ccb20 /fs/btrfs/space-info.h
parentc29abab4f9edf843ccbfa9a552a58a12c41d2ce4 (diff)
downloadlinux-43712116f8c8fb9ae9e0853f1411f25ce3d01b7f.tar.gz
linux-43712116f8c8fb9ae9e0853f1411f25ce3d01b7f.tar.bz2
linux-43712116f8c8fb9ae9e0853f1411f25ce3d01b7f.zip
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 <johannes.thumshirn@wdc.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/space-info.h')
-rw-r--r--fs/btrfs/space-info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/space-info.h b/fs/btrfs/space-info.h
index 8f5948740941..ce66023a9eb8 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 */