]> git.baikalelectronics.ru Git - kernel.git/commit
aio: fix kioctx leak introduced by "aio: Fix a trinity splat"
authorBenjamin LaHaise <bcrl@kvack.org>
Sat, 21 Dec 2013 20:49:28 +0000 (15:49 -0500)
committerBenjamin LaHaise <bcrl@kvack.org>
Sat, 21 Dec 2013 20:57:09 +0000 (15:57 -0500)
commite23c35e69ac328e84454c1a3b51d495f072ed854
treeafb359410d2fa889c9e1b60183e677e9af1449d5
parentdfa7e778e5253e8769a9b595dd875aa2dbf4c5c7
aio: fix kioctx leak introduced by "aio: Fix a trinity splat"

8d25f7de755e81cea2e2db6006b0bc6f590e8916 reworked the percpu reference
counting to correct a bug trinity found.  Unfortunately, the change lead
to kioctxes being leaked because there was no final reference count to
put.  Add that reference count back in to fix things.

Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Cc: stable@vger.kernel.org
fs/aio.c