aio: fix possible invalid memory access when DEBUG is enabled
authorZhao Hongjiang <zhaohongjiang@huawei.com>
Fri, 26 Apr 2013 03:03:53 +0000 (11:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 May 2013 16:41:03 +0000 (09:41 -0700)
commit6bcd3002a29b597e2774a733b74c204c1b344026
treedcc922057f94881f9deaa8339b068a8e4499bb44
parenta5a9e7c9c19b03b471d3ec148698e90a1958bfcb
aio: fix possible invalid memory access when DEBUG is enabled

commit 91d80a84bbc8f28375cca7e65ec666577b4209ad upstream.

dprintk() shouldn't access @ring after it's unmapped.

Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/aio.c