summaryrefslogtreecommitdiff
path: root/volumes.h
diff options
context:
space:
mode:
authorDonggeun Kim <dg77.kim@samsung.com>2010-07-08 09:17:59 +0000
committerChris Mason <chris.mason@oracle.com>2011-10-25 09:18:31 -0400
commit4e64e05c6b8d9a1ed30bb6eda30ef8e93c6af260 (patch)
treed9e302570019a5030ce60f6ad3591b4267b2a61d /volumes.h
parent25095966bd07547cca532128d5ca80a37be13475 (diff)
btrfs-progs: Add new feature to mkfs.btrfs to make file system image file from source directory
Changes from V1 to V2: - support extended attributes - move btrfs_alloc_data_chunk function to volumes.c - fix an execution error when additional useless parameters are specified - fix traverse_directory function so that the insertion functions for the common items are invoked in a single point The extended attributes is implemented through llistxattr and getxattr function calls. Thanks Signed-off-by: Donggeun Kim <dg77.kim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
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 bb787517..93b0e48f 100644
--- a/volumes.h
+++ b/volumes.h
@@ -107,6 +107,9 @@ int btrfs_read_chunk_tree(struct btrfs_root *root);
int btrfs_alloc_chunk(struct btrfs_trans_handle *trans,
struct btrfs_root *extent_root, u64 *start,
u64 *num_bytes, u64 type);
+int btrfs_alloc_data_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,