diff options
Diffstat (limited to 'cmds-restore.c')
-rw-r--r-- | cmds-restore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds-restore.c b/cmds-restore.c index 2933b7f5..ed932ca2 100644 --- a/cmds-restore.c +++ b/cmds-restore.c @@ -324,7 +324,8 @@ static int copy_one_inline(struct btrfs_root *root, int fd, return -ENOMEM; } - ret = decompress(root, buf, outbuf, len, &ram_size, compress); + ret = decompress(root, buf, outbuf, inline_item_len, &ram_size, + compress); if (ret) { free(outbuf); return ret; |