Freezer: make kernel threads nonfreezable by default
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / mtd / ubi / wl.c
index 9ecaf77eca9ebd16cb1a761bab0aa2f9d63a5fbd..ab2174a56bc28b490089129b88c23e583eb7a1fa 100644 (file)
@@ -1346,6 +1346,7 @@ static int ubi_thread(void *u)
        ubi_msg("background thread \"%s\" started, PID %d",
                ubi->bgt_name, current->pid);
 
+       set_freezable();
        for (;;) {
                int err;