[JFFS2] Fix accounting error in jffs2_link_node_ref()
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 22 May 2006 11:15:47 +0000 (12:15 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 22 May 2006 11:15:47 +0000 (12:15 +0100)
commit3b79673cfae93d0ed63eceb058bb26aba602a278
tree2639f8783e4f3023f883e00de16f62a1a39a8c90
parent06c6764b5830798c39617b24497cade90451592f
[JFFS2] Fix accounting error in jffs2_link_node_ref()

When filing REF_OBSOLETE nodes, we'd add their size to the global
'dirty_size' count, but then to the eraseblock's 'used_size' count.
That's not clever.

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