diff options
author | Milind Arun Choudhary <milindchoudhary@gmail.com> | 2007-05-08 03:30:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:13 -0400 |
commit | 5ab2f7e0fdd04148e08348701d6bd6a292ce2d26 (patch) | |
tree | 50de16bd03833271dad8c36f2b01964445305a66 /fs | |
parent | 35bab756b49bd148760a3bbd3c907cd74754dbb4 (diff) |
reiserfs: use __set_current_state()
use __set_current_state(TASK_*) instead of current->state = TASK_*, in
fs/reiserfs
Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
Cc: <reiserfs-dev@namesys.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/reiserfs/journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
2918 | set_current_state(TASK_UNINTERRUPTIBLE); | 2918 | set_current_state(TASK_UNINTERRUPTIBLE); |
2919 | if (test_bit(J_WRITERS_QUEUED, &journal->j_state)) | 2919 | if (test_bit(J_WRITERS_QUEUED, &journal->j_state)) |
2920 | schedule(); | 2920 | schedule(); |
2921 | current->state = TASK_RUNNING; | 2921 | __set_current_state(TASK_RUNNING); |
2922 | remove_wait_queue(&journal->j_join_wait, &wait); | 2922 | remove_wait_queue(&journal->j_join_wait, &wait); |
2923 | } | 2923 | } |
2924 | 2924 | ||