* [KJ][PATCH 02/04]use set_current_state in fs
@ 2007-04-14 8:48 Milind Arun Choudhary
0 siblings, 0 replies; only message in thread
From: Milind Arun Choudhary @ 2007-04-14 8:48 UTC (permalink / raw)
To: kernel-janitors, ocfs2-devel; +Cc: linux-kernel, akpm, mark.fasheh, kurt.hackel
use set_current_state(TASK_*) instead of current->state = TASK_*, in fs/ocfs2
Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
---
dlmthread.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ocfs2/dlm/dlmthread.c b/fs/ocfs2/dlm/dlmthread.c
index 2b264c6..26f4474 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)
--
Milind Arun Choudhary
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-14 8:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-14 8:48 [KJ][PATCH 02/04]use set_current_state in fs Milind Arun Choudhary
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®