]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/reiserfs/journal.c
reiserfs: use __set_current_state()
[karo-tx-linux.git] / fs / reiserfs / journal.c
index 7280a23ef3444aa4b8370dcb99b8ee46ee246dec..e073fd86cf603c35a12de2d8a2a7c5949c404306 100644 (file)
@@ -2918,7 +2918,7 @@ static void queue_log_writer(struct super_block *s)
        set_current_state(TASK_UNINTERRUPTIBLE);
        if (test_bit(J_WRITERS_QUEUED, &journal->j_state))
                schedule();
-       current->state = TASK_RUNNING;
+       __set_current_state(TASK_RUNNING);
        remove_wait_queue(&journal->j_join_wait, &wait);
 }