aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-06-12 06:35:45 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-12 06:35:45 -0400
commit39279cc3d2704cfbf9c35dcb5bdd392159ae4625 (patch)
tree8c6c16a886bdd88ee447871e049c0d56466c2271 /fs/btrfs/ctree.h
parent5276aedab0baacfb3c5483208b8be85a8416bd5f (diff)
Btrfs: split up super.c
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 4e136b7b03ae..24410d42e3ce 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1123,5 +1123,28 @@ struct btrfs_csum_item *btrfs_lookup_csum(struct btrfs_trans_handle *trans,
1123int btrfs_csum_truncate(struct btrfs_trans_handle *trans, 1123int btrfs_csum_truncate(struct btrfs_trans_handle *trans,
1124 struct btrfs_root *root, struct btrfs_path *path, 1124 struct btrfs_root *root, struct btrfs_path *path,
1125 u64 isize); 1125 u64 isize);
1126/* super.c */ 1126/* inode.c */
1127void btrfs_delete_inode(struct inode *inode);
1128void btrfs_read_locked_inode(struct inode *inode);
1129int btrfs_write_inode(struct inode *inode, int wait);
1130void btrfs_dirty_inode(struct inode *inode);
1131struct inode *btrfs_alloc_inode(struct super_block *sb);
1132void btrfs_destroy_inode(struct inode *inode);
1133int btrfs_init_cachep(void);
1134void btrfs_destroy_cachep(void);
1135int btrfs_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
1136 unsigned long arg);
1137long btrfs_compat_ioctl(struct file *file, unsigned int cmd,
1138 unsigned long arg);
1139struct inode *btrfs_iget_locked(struct super_block *s, u64 objectid,
1140 struct btrfs_root *root);
1141int btrfs_commit_write(struct file *file, struct page *page,
1142 unsigned from, unsigned to);
1143int btrfs_get_block(struct inode *inode, sector_t iblock,
1144 struct buffer_head *result, int create);
1145/* file.c */
1146extern struct file_operations btrfs_file_operations;
1147int btrfs_drop_extents(struct btrfs_trans_handle *trans,
1148 struct btrfs_root *root, struct inode *inode,
1149 u64 start, u64 end, u64 *hint_block);
1127#endif 1150#endif