mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h
[ Upstream commitc2e79e865b
] This is defined in volumes.c, move the prototype into volumes.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> Stable-dep-of:6bfe3959b0
("btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a04cce3e79
commit
bd0fe54891
2 changed files with 2 additions and 2 deletions
|
@ -482,8 +482,6 @@ struct btrfs_swapfile_pin {
|
|||
bool is_block_group;
|
||||
};
|
||||
|
||||
bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr);
|
||||
|
||||
enum {
|
||||
BTRFS_FS_BARRIER,
|
||||
BTRFS_FS_CLOSING_START,
|
||||
|
|
|
@ -581,4 +581,6 @@ int btrfs_bg_type_to_factor(u64 flags);
|
|||
const char *btrfs_bg_type_to_raid_name(u64 flags);
|
||||
int btrfs_verify_dev_extents(struct btrfs_fs_info *fs_info);
|
||||
|
||||
bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue