blob: c8e864b2d530f88c7e65350ca557e36e6061700e [file] [log] [blame]
Li Zefan581bb052011-04-20 10:06:11 +08001#ifndef __BTRFS_INODE_MAP
2#define __BTRFS_INODE_MAP
3
4void btrfs_init_free_ino_ctl(struct btrfs_root *root);
5void btrfs_unpin_free_ino(struct btrfs_root *root);
6void btrfs_return_ino(struct btrfs_root *root, u64 objectid);
7int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid);
Li Zefan82d59022011-04-20 10:33:24 +08008int btrfs_save_ino_cache(struct btrfs_root *root,
9 struct btrfs_trans_handle *trans);
Li Zefan581bb052011-04-20 10:06:11 +080010
11int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid);
Chandan Rajendraf32e48e2016-01-07 18:56:59 +053012int btrfs_find_highest_objectid(struct btrfs_root *root, u64 *objectid);
Li Zefan581bb052011-04-20 10:06:11 +080013
14#endif