diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-08-02 14:11:26 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-02 14:23:57 +0200 |
commit | 8e9ed8b02490fea577b1eb1704c05bf43c891ed7 (patch) | |
tree | 3c0cc5dd498abcf0cc894e85509c131a0dde9a43 /include/linux/iocontext.h | |
parent | 716a42348cdaf04534b15fbdc9c83e25baebfed5 (diff) | |
parent | 07903af152b0597d94e9b0030746b63c4664e787 (diff) |
Merge branch 'sched/urgent' into sched/core
Merge reason: avoid upcoming patch conflict.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/iocontext.h')
-rw-r--r-- | include/linux/iocontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iocontext.h b/include/linux/iocontext.h index dd05434fa45f..4da4a75c3f1e 100644 --- a/include/linux/iocontext.h +++ b/include/linux/iocontext.h @@ -92,7 +92,7 @@ static inline struct io_context *ioc_task_link(struct io_context *ioc) * a race). */ if (ioc && atomic_long_inc_not_zero(&ioc->refcount)) { - atomic_long_inc(&ioc->refcount); + atomic_inc(&ioc->nr_tasks); return ioc; } |