]> git.baikalelectronics.ru Git - kernel.git/commit
aio: nullify aio->ring_pages after freeing it
authorSasha Levin <sasha.levin@oracle.com>
Tue, 19 Nov 2013 22:33:03 +0000 (17:33 -0500)
committerBenjamin LaHaise <bcrl@kvack.org>
Tue, 19 Nov 2013 22:40:48 +0000 (17:40 -0500)
commit6ffd6fd5e9c9d196cd61ed2b5faafacf593125f2
tree2dace4cd25760745f94767308f8f846a702f828b
parent53d3c125c05bf2aac4e9e3969e5e329a31d064a2
aio: nullify aio->ring_pages after freeing it

After freeing ring_pages we leave it as is causing a dangling pointer. This
has already caused an issue so to help catching any issues in the future
NULL it out.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
fs/aio.c