| Li Zefan | 581bb05 | 2011-04-20 10:06:11 +0800 | [diff] [blame] | 1 | #ifndef __BTRFS_INODE_MAP | 
|  | 2 | #define __BTRFS_INODE_MAP | 
|  | 3 |  | 
|  | 4 | void btrfs_init_free_ino_ctl(struct btrfs_root *root); | 
|  | 5 | void btrfs_unpin_free_ino(struct btrfs_root *root); | 
|  | 6 | void btrfs_return_ino(struct btrfs_root *root, u64 objectid); | 
|  | 7 | int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid); | 
| Li Zefan | 82d5902 | 2011-04-20 10:33:24 +0800 | [diff] [blame] | 8 | int btrfs_save_ino_cache(struct btrfs_root *root, | 
|  | 9 | struct btrfs_trans_handle *trans); | 
| Li Zefan | 581bb05 | 2011-04-20 10:06:11 +0800 | [diff] [blame] | 10 |  | 
|  | 11 | int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid); | 
|  | 12 |  | 
|  | 13 | #endif |