projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
btrfs-progs: mkfs: Cleanup temporary chunks before filling rootdir
[platform/upstream/btrfs-progs.git]
/
super-recover.c
diff --git
a/super-recover.c
b/super-recover.c
index
5298d46
..
6b80416
100644
(file)
--- a/
super-recover.c
+++ b/
super-recover.c
@@
-302,7
+302,7
@@
int btrfs_recover_superblocks(const char *dname,
}
/* reset super_bytenr in order that we will rewrite all supers */
root->fs_info->super_bytenr = BTRFS_SUPER_INFO_OFFSET;
}
/* reset super_bytenr in order that we will rewrite all supers */
root->fs_info->super_bytenr = BTRFS_SUPER_INFO_OFFSET;
- ret = write_all_supers(root);
+ ret = write_all_supers(root
->fs_info
);
if (!ret)
ret = 2;
else
if (!ret)
ret = 2;
else