diff --git a/[refs] b/[refs] index d7faa7d2cc98..0afc131d92c2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 56ad1740d9a8dc271e71fee234be662638c64458 +refs/heads/master: cbb4f2646d77b536ed2b1500ef6641083228ed8f diff --git a/trunk/include/linux/iocontext.h b/trunk/include/linux/iocontext.h index dd05434fa45f..4da4a75c3f1e 100644 --- a/trunk/include/linux/iocontext.h +++ b/trunk/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; }