projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df4ad82
)
btrfs-progs: Refactor sectorsize users in convert/source-ext2.c
author
Qu Wenruo
<quwenruo@cn.fujitsu.com>
Thu, 18 May 2017 02:14:19 +0000
(10:14 +0800)
committer
David Sterba
<dsterba@suse.com>
Mon, 3 Jul 2017 11:35:11 +0000
(13:35 +0200)
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
convert/source-ext2.c
patch
|
blob
|
history
diff --git
a/convert/source-ext2.c
b/convert/source-ext2.c
index
38c3cd3
..
c6f9f28
100644
(file)
--- a/
convert/source-ext2.c
+++ b/
convert/source-ext2.c
@@
-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;