[JFFS2] Improve garbage collector block selection
authorArtem B. Bityuckiy <dedekind@infradead.org>
Sun, 20 Mar 2005 17:45:29 +0000 (17:45 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 11:01:25 +0000 (13:01 +0200)
commita42163d7c331c2532551f675d6616a00e1e87fe9
treef437025983cca8c43ee33e839199d0ee091c8107
parenta921e28b4bd35b091754a1814ff015fe268b9295
[JFFS2] Improve garbage collector block selection

Make sure the erase_pending_wbuf_list's blocks are taken into account
when picking the block to GC.

Signed-off-by: Artem B. Bityuckiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/jffs2/gc.c