projects
/
platform
/
upstream
/
f2fs-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31acef0
)
sload.f2fs: fix missing fsck_init
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Tue, 30 Jun 2020 21:41:38 +0000
(14:41 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 15 Jul 2020 17:29:57 +0000
(10:29 -0700)
This patch allocates some data structures that will be used for loading files
on existing image.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fsck/sload.c
patch
|
blob
|
history
diff --git
a/fsck/sload.c
b/fsck/sload.c
index
c064f7f
..
59ba4a6
100644
(file)
--- a/
fsck/sload.c
+++ b/
fsck/sload.c
@@
-313,6
+313,9
@@
int f2fs_sload(struct f2fs_sb_info *sbi)
{
int ret = 0;
+ /* this requires for the below sanity checks */
+ fsck_init(sbi);
+
ret = configure_files();
if (ret) {
ERR_MSG("Failed to configure files\n");