]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/jffs2/background.c
[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, 28 Jun 2007 18:49:36 +0000 (19:49 +0100)
commite716dd3644c2a79d6ffa4359bac06f57479dcb34
treea678acd5fc667e5b55adb7294fd5c6097aedc634
parent66bfaeaa90432a585d7e9e70605ee4df3ede9890
[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