]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit1881686f842065d2f92ec9c6424830ffc17d23b0
treeafb359410d2fa889c9e1b60183e677e9af1449d5
parentb7000adef17a5cce85636e40fa2c2d9851a89e28
aio: fix kioctx leak introduced by "aio: Fix a trinity splat"

e34ecee2ae791df674dfb466ce40692ca6218e43 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