]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a325808213aede3831666aed436c478dc4674a5
tree1b86a2ef451f3d4a0ea834c8aa55309b74a18eff
parent197f933790f374e0827d7b866b56500fae7e6dc4
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