af_key: fix buffer overread in parse_exthdrs()
[pandora-kernel.git] / fs / jfs / jfs_lock.h
index 7d78e83..ecf0488 100644 (file)
@@ -42,10 +42,10 @@ do {                                                        \
                if (cond)                               \
                        break;                          \
                unlock_cmd;                             \
-               schedule();                             \
+               io_schedule();                          \
                lock_cmd;                               \
        }                                               \
-       current->state = TASK_RUNNING;                  \
+       __set_current_state(TASK_RUNNING);                      \
        remove_wait_queue(&wq, &__wait);                \
 } while (0)