]> 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)
commitff707cd1f39864a6562d6a21c1bc8f30ad85f65c
treeafb359410d2fa889c9e1b60183e677e9af1449d5
parent8b3e71658ed315478b1ad2d3c76138a7db6fa2bf
aio: fix kioctx leak introduced by "aio: Fix a trinity splat"

41ce451659769b20f2696377bbef0338515b342f 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