Message ID | 20170518033857.15002-28-quwenruo@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/convert/source-ext2.c b/convert/source-ext2.c index 1b0576b1..d12681b5 100644 --- a/convert/source-ext2.c +++ b/convert/source-ext2.c @@ -289,7 +289,7 @@ static int ext2_create_file_extents(struct btrfs_trans_handle *trans, char *buffer = NULL; errcode_t err; u32 last_block; - u32 sectorsize = root->sectorsize; + u32 sectorsize = root->fs_info->sectorsize; u64 inode_size = btrfs_stack_inode_size(btrfs_inode); struct blk_iterate_data data;
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> --- convert/source-ext2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)