]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ocfs2: use __set_current_state()
authorMilind Arun Choudhary <milindchoudhary@gmail.com>
Thu, 26 Apr 2007 07:29:35 +0000 (00:29 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 2 May 2007 22:07:50 +0000 (15:07 -0700)
use __set_current_state(TASK_*) instead of current->state = TASK_*, in
fs/ocfs2

Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmthread.c

index 2b264c6ba039b72f7c103a05faecbea83082b4d0..cebd089f8955f65a17548b44b658ea2043d87a2f 100644 (file)
@@ -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)