Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f61579c3
Commit
f61579c3
authored
May 25, 2006
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[JFFS2] Correctly handle wasted space before summary node.
Signed-off-by:
David Woodhouse
<
dwmw2@infradead.org
>
parent
c38c1b61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fs/jffs2/summary.c
fs/jffs2/summary.c
+2
-2
No files found.
fs/jffs2/summary.c
View file @
f61579c3
...
...
@@ -630,11 +630,11 @@ int jffs2_sum_scan_sumnode(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb
return
ret
;
/* real error */
/* for PARANOIA_CHECK */
ret
=
jffs2_prealloc_raw_node_refs
(
c
,
1
);
ret
=
jffs2_prealloc_raw_node_refs
(
c
,
2
);
if
(
ret
)
return
ret
;
jffs2_link_node_ref
(
c
,
jeb
,
(
jeb
->
offset
+
ofs
)
|
REF_NORMAL
,
sumsize
,
NULL
);
sum_link_node_ref
(
c
,
jeb
,
ofs
|
REF_NORMAL
,
sumsize
,
NULL
);
if
(
unlikely
(
jeb
->
free_size
))
{
JFFS2_WARNING
(
"Free size 0x%x bytes in eraseblock @0x%08x with summary?
\n
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment