diff options
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index b9f9f815ed09..3e62a1b0a1f7 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -1486,6 +1486,9 @@ static inline struct dentry *fdentry(struct file *file) | |||
1486 | 1486 | ||
1487 | /* extent-tree.c */ | 1487 | /* extent-tree.c */ |
1488 | int btrfs_lookup_extent(struct btrfs_root *root, u64 start, u64 len); | 1488 | int btrfs_lookup_extent(struct btrfs_root *root, u64 start, u64 len); |
1489 | int btrfs_lookup_extent_ref(struct btrfs_trans_handle *trans, | ||
1490 | struct btrfs_root *root, u64 bytenr, | ||
1491 | u64 num_bytes, u32 *refs); | ||
1489 | int btrfs_update_pinned_extents(struct btrfs_root *root, | 1492 | int btrfs_update_pinned_extents(struct btrfs_root *root, |
1490 | u64 bytenr, u64 num, int pin); | 1493 | u64 bytenr, u64 num, int pin); |
1491 | int btrfs_drop_leaf_ref(struct btrfs_trans_handle *trans, | 1494 | int btrfs_drop_leaf_ref(struct btrfs_trans_handle *trans, |
@@ -1812,6 +1815,8 @@ void btrfs_destroy_inode(struct inode *inode); | |||
1812 | int btrfs_init_cachep(void); | 1815 | int btrfs_init_cachep(void); |
1813 | void btrfs_destroy_cachep(void); | 1816 | void btrfs_destroy_cachep(void); |
1814 | long btrfs_ioctl_trans_end(struct file *file); | 1817 | long btrfs_ioctl_trans_end(struct file *file); |
1818 | struct inode *btrfs_ilookup(struct super_block *s, u64 objectid, | ||
1819 | struct btrfs_root *root, int wait); | ||
1815 | struct inode *btrfs_iget_locked(struct super_block *s, u64 objectid, | 1820 | struct inode *btrfs_iget_locked(struct super_block *s, u64 objectid, |
1816 | struct btrfs_root *root); | 1821 | struct btrfs_root *root); |
1817 | struct inode *btrfs_iget(struct super_block *s, struct btrfs_key *location, | 1822 | struct inode *btrfs_iget(struct super_block *s, struct btrfs_key *location, |
@@ -1824,13 +1829,17 @@ struct extent_map *btrfs_get_extent(struct inode *inode, struct page *page, | |||
1824 | int btrfs_update_inode(struct btrfs_trans_handle *trans, | 1829 | int btrfs_update_inode(struct btrfs_trans_handle *trans, |
1825 | struct btrfs_root *root, | 1830 | struct btrfs_root *root, |
1826 | struct inode *inode); | 1831 | struct inode *inode); |
1832 | int btrfs_orphan_add(struct btrfs_trans_handle *trans, struct inode *inode); | ||
1833 | int btrfs_orphan_del(struct btrfs_trans_handle *trans, struct inode *inode); | ||
1834 | void btrfs_orphan_cleanup(struct btrfs_root *root); | ||
1827 | 1835 | ||
1828 | /* ioctl.c */ | 1836 | /* ioctl.c */ |
1829 | long btrfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg); | 1837 | long btrfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg); |
1830 | 1838 | ||
1831 | /* file.c */ | 1839 | /* file.c */ |
1832 | int btrfs_sync_file(struct file *file, struct dentry *dentry, int datasync); | 1840 | int btrfs_sync_file(struct file *file, struct dentry *dentry, int datasync); |
1833 | int btrfs_drop_extent_cache(struct inode *inode, u64 start, u64 end); | 1841 | int btrfs_drop_extent_cache(struct inode *inode, u64 start, u64 end, |
1842 | int skip_pinned); | ||
1834 | int btrfs_check_file(struct btrfs_root *root, struct inode *inode); | 1843 | int btrfs_check_file(struct btrfs_root *root, struct inode *inode); |
1835 | extern struct file_operations btrfs_file_operations; | 1844 | extern struct file_operations btrfs_file_operations; |
1836 | int btrfs_drop_extents(struct btrfs_trans_handle *trans, | 1845 | int btrfs_drop_extents(struct btrfs_trans_handle *trans, |