summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/summary.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-06-18 22:44:21 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-06-18 22:44:21 +0100
commit1046d88001e7b8819f60dece2eaf1b44bf4b4460 (patch)
tree82a8f62e785375b2f43bbb3f2b52da60775b5b56 /fs/jffs2/summary.c
parentfc6612f627c697b348a4ef64f16fb373d86dbd76 (diff)
downloadtalos-obmc-linux-1046d88001e7b8819f60dece2eaf1b44bf4b4460.tar.gz
talos-obmc-linux-1046d88001e7b8819f60dece2eaf1b44bf4b4460.zip
[JFFS2] Check CRC32 on dirent and data nodes each time they're read
Also, make sure dirents are marked REF_UNCHECKED when we 'discover' them through eraseblock summary. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/summary.c')
-rw-r--r--fs/jffs2/summary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/summary.c b/fs/jffs2/summary.c
index 51bf1654ce3b..0b02fc79e4d1 100644
--- a/fs/jffs2/summary.c
+++ b/fs/jffs2/summary.c
@@ -453,7 +453,7 @@ static int jffs2_sum_process_sum_data(struct jffs2_sb_info *c, struct jffs2_eras
return -ENOMEM;
}
- fd->raw = sum_link_node_ref(c, jeb, je32_to_cpu(spd->offset) | REF_PRISTINE,
+ fd->raw = sum_link_node_ref(c, jeb, je32_to_cpu(spd->offset) | REF_UNCHECKED,
PAD(je32_to_cpu(spd->totlen)), ic);
fd->next = NULL;
OpenPOWER on IntegriCloud