mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h
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>
This commit is contained in:
		
							parent
							
								
									43712116f8
								
							
						
					
					
						commit
						c2e79e865b
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -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);
 | 
				
			||||||
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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue