From: Milind Arun Choudhary Date: Tue, 8 May 2007 07:30:51 +0000 (-0700) Subject: reiserfs: use __set_current_state() X-Git-Tag: v2.6.22-rc1~630 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=5ab2f7e0fdd04148e08348701d6bd6a292ce2d26;p=linux.git reiserfs: use __set_current_state() use __set_current_state(TASK_*) instead of current->state = TASK_*, in fs/reiserfs Signed-off-by: Milind Arun Choudhary Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/reiserfs/journal.c b/fs/reiserfs/journal.c index 7280a23ef344..e073fd86cf60 100644 --- a/fs/reiserfs/journal.c +++ b/fs/reiserfs/journal.c @@ -2918,7 +2918,7 @@ static void queue_log_writer(struct super_block *s) set_current_state(TASK_UNINTERRUPTIBLE); if (test_bit(J_WRITERS_QUEUED, &journal->j_state)) schedule(); - current->state = TASK_RUNNING; + __set_current_state(TASK_RUNNING); remove_wait_queue(&journal->j_join_wait, &wait); }