summaryrefslogtreecommitdiff
path: root/volumes.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 /volumes.h
parent1f3ba6a3f9440a40108273dbbe4f37306be8d9ad (diff)
ioctls to scan for btrfs filesystems
Diffstat (limited to 'volumes.h')
-rw-r--r--volumes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/volumes.h b/volumes.h
index 760f2cde..c585b15d 100644
--- a/volumes.h
+++ b/volumes.h
@@ -61,4 +61,7 @@ int btrfs_alloc_chunk(struct btrfs_trans_handle *trans,
struct btrfs_root *extent_root, u64 *start,
u64 *num_bytes, u64 type);
int btrfs_read_super_device(struct btrfs_root *root, struct extent_buffer *buf);
+int btrfs_add_device(struct btrfs_trans_handle *trans,
+ struct btrfs_root *root,
+ struct btrfs_device *device);
#endif