From e94c1ea78329ed8c521d805d35edbeaceaee6317 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Wed, 18 Jan 2023 07:05:47 -0500 Subject: fs/aio: Use kmap_local() instead of kmap() Originally, we used kmap() instead of kmap_atomic() for reading events out of the completion ringbuffer because we're using copy_to_user(), which can fault. Now that kmap_local() is a thing, use that instead. Signed-off-by: Kent Overstreet Cc: Benjamin LaHaise