aio: dprintks in aio_read_evt were referencing aio_ring after kunmap_atomic
PATCH 1/1 aio: dprintks in aio_read_evt were referencing aio_ring after kunmap_atomic
Signed-off-by Zhao Hongjiang <[email protected]>
---
linux-next use pr_debug instead of dprintk, and fix the issue.
--- fs/aio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/aio.c +1 -1
@@ -1029,9 +1029,9 @@ static int aio_read_evt(struct kioctx *ioctx, struct io_event *ent)spin_unlock (&info->ring_lock); out: -kunmap_atomic (ring);dprintk ("leaving aio_read_evt: %d h%lu t%lu\n" , ret, (unsigned long )ring->head, (unsigned long )ring->tail); +kunmap_atomic (ring);return ret; }
Signature · 7 lines
1.7.1 -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to [email protected]. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: <a href=mailto:"[email protected]">[email protected]</a>