mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-29 17:02:43 +00:00
btrfs-progs: Refactor sectorsize users in convert/source-ext2.c
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
This commit is contained in:
parent
df4ad82810
commit
ec5a427fec
@ -290,7 +290,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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user