diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-03-24 15:05:44 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-03-24 15:05:44 -0400 |
commit | 0dcfa3b8270f38edacee1c62f308129c36073d0c (patch) | |
tree | 74e084b5cceed48161b5ca1508a88afd6f8ca8b1 /disk-io.h | |
parent | 26afd0f31d59853f51120622b0121cdfc72cd398 (diff) | |
download | btrfs-progs-0dcfa3b8270f38edacee1c62f308129c36073d0c.tar.gz |
Walk all block devices looking for btrfs
Diffstat (limited to 'disk-io.h')
-rw-r--r-- | disk-io.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,8 +29,8 @@ struct extent_buffer *btrfs_find_create_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize); int clean_tree_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf); -struct btrfs_root *open_ctree(char *filename, u64 sb_bytenr); -struct btrfs_root *open_ctree_fd(int fp, u64 sb_bytenr); +struct btrfs_root *open_ctree(const char *filename, u64 sb_bytenr); +struct btrfs_root *open_ctree_fd(int fp, const char *path, u64 sb_bytenr); int close_ctree(struct btrfs_root *root); int write_ctree_super(struct btrfs_trans_handle *trans, struct btrfs_root *root); |