* Question: jffs2_mark_node_obsolete() with NAND
@ 2006-01-05 18:39 priewasser
0 siblings, 0 replies; only message in thread
From: priewasser @ 2006-01-05 18:39 UTC (permalink / raw)
To: linux-mtd
Hi all,
as far as i understand, jffs2_mark_node_obsolete() gets the
raw_node_ref of the flash node to delete, flash_reads the appropriate
common header in a struct jffs2_unknown_node, sets the node type to
~JFFS2_NODE_ACCURATE and writes the common header into the flash. The
existing common header is overwritten. This works for NOR as there is
some "valid" bit that flips from 1->0 (?). But what about NAND? I do
not understand how obsoleting nodes can work in the described
overwrite-way, with a 2KiB-granularity and wbuf......
Thanks for your answer,
Bernhard
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-05 18:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-05 18:39 Question: jffs2_mark_node_obsolete() with NAND priewasser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox