Forráskód Böngészése

[PATCH] ocfs2: use __set_current_state()

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>
Milind Arun Choudhary 18 éve
szülő
commit
5c2c9d383e
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      fs/ocfs2/dlm/dlmthread.c

+ 1 - 1
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)