]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - spl/module/spl/spl-err.c
UBUNTU: SAUCE: (noup) Update spl to 0.6.5.9-1ubuntu1, zfs to 0.6.5.9-5ubuntu5
[mirror_ubuntu-artful-kernel.git] / spl / module / spl / spl-err.c
index 14ff8a3373f533cb539099ef81af16bbcdd1a5e2..cf9f096b11cb200053a699738471e6680f907993 100644 (file)
@@ -65,7 +65,7 @@ spl_panic(const char *file, const char *func, int line, const char *fmt, ...) {
        spl_dumpstack();
 
        /* Halt the thread to facilitate further debugging */
-       set_task_state(current, TASK_UNINTERRUPTIBLE);
+       set_current_state(TASK_UNINTERRUPTIBLE);
        while (1)
                schedule();
 
@@ -98,7 +98,7 @@ vcmn_err(int ce, const char *fmt, va_list ap)
                spl_dumpstack();
 
                /* Halt the thread to facilitate further debugging */
-               set_task_state(current, TASK_UNINTERRUPTIBLE);
+               set_current_state(TASK_UNINTERRUPTIBLE);
                while (1)
                        schedule();
        }