提交 c2e79e86 编写于 作者: J Josef Bacik 提交者: David Sterba

btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h

This is defined in volumes.c, move the prototype into volumes.h.
Reviewed-by: NJohannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: NAnand Jain <anand.jain@oracle.com>
Signed-off-by: NJosef Bacik <josef@toxicpanda.com>
Reviewed-by: NDavid Sterba <dsterba@suse.com>
Signed-off-by: NDavid Sterba <dsterba@suse.com>
上级 43712116
...@@ -560,8 +560,6 @@ struct btrfs_swapfile_pin { ...@@ -560,8 +560,6 @@ struct btrfs_swapfile_pin {
int bg_extent_count; int bg_extent_count;
}; };
bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr);
enum { enum {
BTRFS_FS_CLOSING_START, BTRFS_FS_CLOSING_START,
BTRFS_FS_CLOSING_DONE, BTRFS_FS_CLOSING_DONE,
......
...@@ -731,4 +731,6 @@ const char *btrfs_bg_type_to_raid_name(u64 flags); ...@@ -731,4 +731,6 @@ const char *btrfs_bg_type_to_raid_name(u64 flags);
int btrfs_verify_dev_extents(struct btrfs_fs_info *fs_info); int btrfs_verify_dev_extents(struct btrfs_fs_info *fs_info);
bool btrfs_repair_one_zone(struct btrfs_fs_info *fs_info, u64 logical); bool btrfs_repair_one_zone(struct btrfs_fs_info *fs_info, u64 logical);
bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr);
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册