[JFFS2] Fix suspend failure with JFFS2 GC thread.
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 28 Jun 2007 18:49:36 +0000 (19:49 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 2 Aug 2007 20:43:03 +0000 (21:43 +0100)
commit7b687707d769112aee220bafd50fa113363717ff
tree633d4682e1cb30447d7ea9a13d975db357cf9381
parent71c23397752c0e40722d931ab9152342e9673336
[JFFS2] Fix suspend failure with JFFS2 GC thread.

The try_to_freeze() call was in the wrong place; we need it in the
signal-pending loop now that a pending freeze also makes
signal_pending() return true.

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