Whamcloud - gitweb
LU-9558 libcfs: replace set_task_state() with set_current_state()
[fs/lustre-release.git] / libcfs / libcfs / linux / linux-debug.c
index 4db7b4a..72a3a4f 100644 (file)
@@ -117,7 +117,7 @@ void lbug_with_loc(struct libcfs_debug_msg_data *msgdata)
                 libcfs_debug_dumplog();
         if (libcfs_panic_on_lbug)
                 panic("LBUG");
-        set_task_state(current, TASK_UNINTERRUPTIBLE);
+       set_current_state(TASK_UNINTERRUPTIBLE);
         while (1)
                 schedule();
 }