mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
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>
This commit is contained in:
parent
35bab756b4
commit
5ab2f7e0fd
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user