X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Focfs2%2Fdlm%2Fdlmthread.c;h=cebd089f8955f65a17548b44b658ea2043d87a2f;hb=a9deecba19b8f384d97f82c75379da48bccb2588;hp=2b264c6ba039b72f7c103a05faecbea83082b4d0;hpb=12a5a712123b81a8ba0bc486e2384a375c00f095;p=linux-2.6 diff --git a/fs/ocfs2/dlm/dlmthread.c b/fs/ocfs2/dlm/dlmthread.c index 2b264c6ba0..cebd089f89 100644 --- a/fs/ocfs2/dlm/dlmthread.c +++ b/fs/ocfs2/dlm/dlmthread.c @@ -76,7 +76,7 @@ repeat: goto repeat; } remove_wait_queue(&res->wq, &wait); - current->state = TASK_RUNNING; + __set_current_state(TASK_RUNNING); } int __dlm_lockres_has_locks(struct dlm_lock_resource *res)