summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-03-24 15:04:49 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2008-03-24 15:04:49 -0400
commit26afd0f31d59853f51120622b0121cdfc72cd398 (patch)
tree7fb3b9c7039a676f5cd35b35b4ad6cebdaaec052 /utils.h
parent1f3ba6a3f9440a40108273dbbe4f37306be8d9ad (diff)
ioctls to scan for btrfs filesystems
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 9dc8cf86..28e71e3d 100644
--- a/utils.h
+++ b/utils.h
@@ -26,4 +26,9 @@ int make_btrfs(int fd, char *device_name,
u32 leafsize, u32 sectorsize, u32 stripesize);
int btrfs_make_root_dir(struct btrfs_trans_handle *trans,
struct btrfs_root *root, u64 objectid);
+int btrfs_prepare_device(int fd, char *file, int zero_end,
+ u64 *block_count_ret);
+int btrfs_add_to_fsid(struct btrfs_trans_handle *trans,
+ struct btrfs_root *root, int fd, u64 block_count,
+ u32 io_width, u32 io_align, u32 sectorsize);
#endif