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:
7354c69
)
btrfs-progs: Refactor nodesize user in btrfstune.c
author
Qu Wenruo
<quwenruo@cn.fujitsu.com>
Thu, 18 May 2017 01:39:03 +0000
(09:39 +0800)
committer
David Sterba
<dsterba@suse.com>
Mon, 3 Jul 2017 11:35:10 +0000
(13:35 +0200)
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
btrfstune.c
patch
|
blob
|
history
diff --git
a/btrfstune.c
b/btrfstune.c
index
257bac4
..
0a6ad9c
100644
(file)
--- a/
btrfstune.c
+++ b/
btrfstune.c
@@
-149,7
+149,7
@@
static int change_extents_uuid(struct btrfs_fs_info *fs_info)
goto next;
bytenr = key.objectid;
- eb = read_tree_block(root, bytenr, root->nodesize, 0);
+ eb = read_tree_block(root, bytenr, root->
fs_info->
nodesize, 0);
if (IS_ERR(eb)) {
error("failed to read tree block: %llu", bytenr);
ret = PTR_ERR(eb);