Merge tag 'imx-fixes-5.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
[linux-2.6-block.git] / fs / btrfs / inode-map.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
9888c340
DS
2
3#ifndef BTRFS_INODE_MAP_H
4#define BTRFS_INODE_MAP_H
581bb050
LZ
5
6void btrfs_init_free_ino_ctl(struct btrfs_root *root);
7void btrfs_unpin_free_ino(struct btrfs_root *root);
8void btrfs_return_ino(struct btrfs_root *root, u64 objectid);
9int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid);
82d5902d
LZ
10int btrfs_save_ino_cache(struct btrfs_root *root,
11 struct btrfs_trans_handle *trans);
581bb050
LZ
12
13int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid);
f32e48e9 14int btrfs_find_highest_objectid(struct btrfs_root *root, u64 *objectid);
581bb050
LZ
15
16#endif