iomap: Use kmap_local_page instead of kmap_atomic
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 5 Aug 2021 03:07:33 +0000 (20:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 5 Aug 2021 17:30:33 +0000 (10:30 -0700)
commitab069d5fdcd14530d4223746c8d01f421d4c4057
tree1b86a2ef451f3d4a0ea834c8aa55309b74a18eff
parentf1f264b4c134ee65cdadece7a20f3c0643602a4a
iomap: Use kmap_local_page instead of kmap_atomic

kmap_atomic() has the side-effect of disabling pagefaults and
preemption.  kmap_local_page() does not do this and is preferred.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c