Commit:     e136e769d471e7f3d24a8f6bf9c91dcb372bd0ab
Parent:     561d9a969455cb009bb15b63e1d925dc527e7a9d
Author:     Rafael J. Wysocki <[EMAIL PROTECTED]>
AuthorDate: Tue Dec 4 01:11:09 2007 +0100
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Tue Dec 4 01:35:41 2007 -0500

    Freezer: Fix JFFS2 garbage collector freezing issue (rev. 2)
    Fix breakage caused by commit d5d8c5976d6adeddb8208c240460411e2198b393
    "freezer: do not send signals to kernel threads" in
    jffs2_garbage_collect_thread() that assumed it would be sent signals
    by the freezer.
    Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]>
    Cc: David Woodhouse <[EMAIL PROTECTED]>
    Cc: Pete MacKay <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
 fs/jffs2/background.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/jffs2/background.c b/fs/jffs2/background.c
index d568ae8..8adebd3 100644
--- a/fs/jffs2/background.c
+++ b/fs/jffs2/background.c
@@ -105,7 +105,7 @@ static int jffs2_garbage_collect_thread(void *_c)
                /* Put_super will send a SIGKILL and then wait on the sem.
-               while (signal_pending(current)) {
+               while (signal_pending(current) || freezing(current)) {
                        siginfo_t info;
                        unsigned long signr;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to