projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c38c1b6
)
[JFFS2] Correctly handle wasted space before summary node.
author
David Woodhouse
<dwmw2@infradead.org>
Thu, 25 May 2006 00:42:40 +0000
(
01:42
+0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Thu, 25 May 2006 00:42:40 +0000
(
01:42
+0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/summary.c
patch
|
blob
|
history
diff --git
a/fs/jffs2/summary.c
b/fs/jffs2/summary.c
index
7bddd33
..
0c66d16
100644
(file)
--- a/
fs/jffs2/summary.c
+++ b/
fs/jffs2/summary.c
@@
-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",