From 9b479fe6f112cf1b25f4160aa8d6e7043d96add5 Mon Sep 17 00:00:00 2001 From: Li Zefan Date: Fri, 31 Jul 2009 08:55:48 +0200 Subject: [PATCH] --- yaml --- r: 156167 b: refs/heads/master c: cbb4f2646d77b536ed2b1500ef6641083228ed8f h: refs/heads/master i: 156165: 6f9259c382ea8dc408814aa296a49fd56b8e9ac9 156163: ce4e37351771d38e7e4025194f51f22e3ae89421 156159: dc27219e59a7839a986ecde66408ad52f82ac14c v: v3 --- [refs] | 2 +- trunk/include/linux/iocontext.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }