Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230601
b: refs/heads/master
c: 27667c9
h: refs/heads/master
i:
  230599: 49b7620
v: v3
  • Loading branch information
Bart Van Assche authored and Jens Axboe committed Dec 21, 2010
1 parent 96b62b9 commit c6bb913
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3603b8eaccc8e41d3f355b3cadd662a3dd6699fd
refs/heads/master: 27667c996f6a0bed4ad1e10ac0a0dbb6037968db
5 changes: 2 additions & 3 deletions trunk/block/blk-ioc.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static void cfq_exit(struct io_context *ioc)
rcu_read_unlock();
}

/* Called by the exitting task */
/* Called by the exiting task */
void exit_io_context(struct task_struct *task)
{
struct io_context *ioc;
Expand All @@ -74,10 +74,9 @@ void exit_io_context(struct task_struct *task)
task->io_context = NULL;
task_unlock(task);

if (atomic_dec_and_test(&ioc->nr_tasks)) {
if (atomic_dec_and_test(&ioc->nr_tasks))
cfq_exit(ioc);

}
put_io_context(ioc);
}

Expand Down

0 comments on commit c6bb913

Please sign in to comment.