summaryrefslogtreecommitdiff
path: root/file-item.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2017-08-22 18:30:43 +0200
committerDavid Sterba <dsterba@suse.com>2017-09-08 16:15:05 +0200
commit99340c2ef762f3da92e4bb4ce3b2f6d5fc6ef9d0 (patch)
tree7c2850d5157e53d6445a61457f8746f965e37e07 /file-item.c
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 <jeffm@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'file-item.c')
-rw-r--r--file-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file-item.c b/file-item.c
index 6877a1a9..8e169e18 100644
--- a/file-item.c
+++ b/file-item.c
@@ -86,7 +86,7 @@ out:
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)
{
struct btrfs_key key;
struct btrfs_path *path;