[JFFS2] Discard remaining free space when filing a dirty block in scan.
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 21 May 2006 02:57:56 +0000 (03:57 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 21 May 2006 02:57:56 +0000 (03:57 +0100)
commit25090a6b23906552cf3d204aa421f811327e1b15
treefba39a988d6d5048b5ca445364b5f13ea415078d
parent68270995f29f1a82b3eaab01df63ea7e721e2fa6
[JFFS2] Discard remaining free space when filing a dirty block in scan.

The incoming ref_totlen() calculation is going to rely on the existence
of nodes which cover all dirty space. We can't just tweak the accounting
data any more; we have to call jffs2_scan_dirty_space() to do it.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/scan.c