path: root/ctree.h
diff options
authorJeff Mahoney <>2017-08-22 18:30:43 +0200
committerDavid Sterba <>2017-09-08 16:15:05 +0200
commit99340c2ef762f3da92e4bb4ce3b2f6d5fc6ef9d0 (patch)
tree7c2850d5157e53d6445a61457f8746f965e37e07 /ctree.h
parentcbaa70b265aa4161d92fe87fde586e1660905be2 (diff)
btrfs-progs: convert: add support for converting reiserfs
This patch adds support to convert reiserfs file systems in-place to btrfs. It will convert extended attribute files to btrfs extended attributes, translate ACLs, coalesce tails that consist of multiple items into one item, and convert tails that are too big into indirect files. This requires that libreiserfscore 3.6.27 be available. Signed-off-by: Jeff Mahoney <> Signed-off-by: David Sterba <>
Diffstat (limited to 'ctree.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/ctree.h b/ctree.h
index 48ae8903..c95157dc 100644
--- a/ctree.h
+++ b/ctree.h
@@ -2707,7 +2707,7 @@ int btrfs_insert_file_extent(struct btrfs_trans_handle *trans,
u64 num_bytes);
int btrfs_insert_inline_extent(struct btrfs_trans_handle *trans,
struct btrfs_root *root, u64 objectid,
- u64 offset, char *buffer, size_t size);
+ u64 offset, const char *buffer, size_t size);
int btrfs_csum_file_block(struct btrfs_trans_handle *trans,
struct btrfs_root *root, u64 alloc_end,
u64 bytenr, char *data, size_t len);