From 3cd3ac432d8ac919ac1f66a888b2503229bf65dd 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