Freezer: make kernel threads nonfreezable by default
[deliverable/linux.git] / drivers / usb / gadget / file_storage.c
index 8712ef987179b2ca2ba4ed3c6d26df9823395ed9..be7a1bd2823b865ed777e0562ac774417057fa74 100644 (file)
@@ -3434,6 +3434,9 @@ static int fsg_main_thread(void *fsg_)
        allow_signal(SIGKILL);
        allow_signal(SIGUSR1);
 
+       /* Allow the thread to be frozen */
+       set_freezable();
+
        /* Arrange for userspace references to be interpreted as kernel
         * pointers.  That way we can pass a kernel pointer to a routine
         * that expects a __user pointer and it will work okay. */
This page took 0.024085 seconds and 5 git commands to generate.