diff options
author | Milind Arun Choudhary <milindchoudhary@gmail.com> | 2007-04-26 03:29:35 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-05-02 18:07:50 -0400 |
commit | 5c2c9d383ef7f7cfc02d6355798b95988de359b4 (patch) | |
tree | 3911610aa2f8e6c63b77f4d98faa1f6174b14a87 /fs/ocfs2/dlm | |
parent | ee19a77956cb65c5da54d85a5efefe50b39fa6e5 (diff) |
[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>
Diffstat (limited to 'fs/ocfs2/dlm')
-rw-r--r-- | fs/ocfs2/dlm/dlmthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmthread.c b/fs/ocfs2/dlm/dlmthread.c index 2b264c6ba039..cebd089f8955 100644 --- a/fs/ocfs2/dlm/dlmthread.c +++ b/fs/ocfs2/dlm/dlmthread.c | |||
@@ -76,7 +76,7 @@ repeat: | |||
76 | goto repeat; | 76 | goto repeat; |
77 | } | 77 | } |
78 | remove_wait_queue(&res->wq, &wait); | 78 | remove_wait_queue(&res->wq, &wait); |
79 | current->state = TASK_RUNNING; | 79 | __set_current_state(TASK_RUNNING); |
80 | } | 80 | } |
81 | 81 | ||
82 | int __dlm_lockres_has_locks(struct dlm_lock_resource *res) | 82 | int __dlm_lockres_has_locks(struct dlm_lock_resource *res) |