mtd/fs/jffs2 gc.c,1.116,1.117
David Woodhouse
dwmw2 at infradead.org
Tue Oct 28 11:43:02 EST 2003
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv4115
Modified Files:
gc.c
Log Message:
Mark copied hole nodes REF_NORMAL to avoid sanity-check noise. It was harmless
and probably the right thing to do, but it's noisy and it doesn't really matter
either way.
Index: gc.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/gc.c,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -r1.116 -r1.117
--- gc.c 16 Oct 2003 10:22:49 -0000 1.116
+++ gc.c 28 Oct 2003 16:42:59 -0000 1.117
@@ -1010,6 +1010,9 @@
je32_to_cpu(ri.ino));
});
+ /* This is a partially-overlapped hole node. Mark it REF_NORMAL not REF_PRISTINE */
+ mark_ref_normal(new_fn->raw);
+
for (frag = jffs2_lookup_node_frag(&f->fragtree, fn->ofs);
frag; frag = frag_next(frag)) {
if (frag->ofs > fn->size + fn->ofs)
More information about the linux-mtd-cvs
mailing list