diff options
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 10129cc6656f..b83a1bec346f 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -508,6 +508,8 @@ BTRFS_SETGET_STACK_FUNCS(block_group_used, struct btrfs_block_group_item, | |||
508 | used, 64); | 508 | used, 64); |
509 | BTRFS_SETGET_FUNCS(disk_block_group_used, struct btrfs_block_group_item, | 509 | BTRFS_SETGET_FUNCS(disk_block_group_used, struct btrfs_block_group_item, |
510 | used, 64); | 510 | used, 64); |
511 | BTRFS_SETGET_FUNCS(disk_block_group_flags, struct btrfs_block_group_item, | ||
512 | flags, 8); | ||
511 | 513 | ||
512 | /* struct btrfs_inode_ref */ | 514 | /* struct btrfs_inode_ref */ |
513 | BTRFS_SETGET_FUNCS(inode_ref_name_len, struct btrfs_inode_ref, name_len, 16); | 515 | BTRFS_SETGET_FUNCS(inode_ref_name_len, struct btrfs_inode_ref, name_len, 16); |
@@ -960,6 +962,9 @@ struct extent_buffer *__btrfs_alloc_free_block(struct btrfs_trans_handle *trans, | |||
960 | int level, | 962 | int level, |
961 | u64 hint, | 963 | u64 hint, |
962 | u64 empty_size); | 964 | u64 empty_size); |
965 | int btrfs_grow_extent_tree(struct btrfs_trans_handle *trans, | ||
966 | struct btrfs_root *root, u64 new_size); | ||
967 | int btrfs_shrink_extent_tree(struct btrfs_root *root, u64 new_size); | ||
963 | int btrfs_insert_extent_backref(struct btrfs_trans_handle *trans, | 968 | int btrfs_insert_extent_backref(struct btrfs_trans_handle *trans, |
964 | struct btrfs_root *root, | 969 | struct btrfs_root *root, |
965 | struct btrfs_path *path, u64 bytenr, | 970 | struct btrfs_path *path, u64 bytenr, |
@@ -1117,6 +1122,9 @@ int btrfs_csum_truncate(struct btrfs_trans_handle *trans, | |||
1117 | struct btrfs_root *root, struct btrfs_path *path, | 1122 | struct btrfs_root *root, struct btrfs_path *path, |
1118 | u64 isize); | 1123 | u64 isize); |
1119 | /* inode.c */ | 1124 | /* inode.c */ |
1125 | unsigned long btrfs_force_ra(struct address_space *mapping, | ||
1126 | struct file_ra_state *ra, struct file *file, | ||
1127 | pgoff_t offset, pgoff_t last_index); | ||
1120 | int btrfs_check_free_space(struct btrfs_root *root, u64 num_required, | 1128 | int btrfs_check_free_space(struct btrfs_root *root, u64 num_required, |
1121 | int for_del); | 1129 | int for_del); |
1122 | int btrfs_page_mkwrite(struct vm_area_struct *vma, struct page *page); | 1130 | int btrfs_page_mkwrite(struct vm_area_struct *vma, struct page *page); |
@@ -1162,4 +1170,6 @@ void btrfs_sysfs_del_super(struct btrfs_fs_info *root); | |||
1162 | ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size); | 1170 | ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size); |
1163 | int btrfs_delete_xattrs(struct btrfs_trans_handle *trans, | 1171 | int btrfs_delete_xattrs(struct btrfs_trans_handle *trans, |
1164 | struct btrfs_root *root, struct inode *inode); | 1172 | struct btrfs_root *root, struct inode *inode); |
1173 | /* super.c */ | ||
1174 | u64 btrfs_parse_size(char *str); | ||
1165 | #endif | 1175 | #endif |