summaryrefslogtreecommitdiff
path: root/disk-io.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-06 20:08:01 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-06 20:08:01 -0500
commit79b90e3fdf5c711972b8fe00121f8d48f310b30d (patch)
treec7cd7fa03a3c925e469f4faacbff93969006f80c /disk-io.h
parent7da449a2f634d1807a5aaa8cd8dceb360032343e (diff)
Fixup reference counting on cows
Diffstat (limited to 'disk-io.h')
-rw-r--r--disk-io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-io.h b/disk-io.h
index b5dee2fa..1c0af7c5 100644
--- a/disk-io.h
+++ b/disk-io.h
@@ -18,9 +18,9 @@ struct tree_buffer *find_tree_block(struct ctree_root *root, u64 blocknr);
int write_tree_block(struct ctree_root *root, struct tree_buffer *buf);
int dirty_tree_block(struct ctree_root *root, struct tree_buffer *buf);
int clean_tree_block(struct ctree_root *root, struct tree_buffer *buf);
-int commit_transaction(struct ctree_root *root);
+int commit_transaction(struct ctree_root *root, struct ctree_super_block *s);
struct ctree_root *open_ctree(char *filename, struct ctree_super_block *s);
-int close_ctree(struct ctree_root *root);
+int close_ctree(struct ctree_root *root, struct ctree_super_block *s);
void tree_block_release(struct ctree_root *root, struct tree_buffer *buf);
int write_ctree_super(struct ctree_root *root, struct ctree_super_block *s);
int mkfs(int fd);