scatterlist: do not disable IRQs in sg_copy_buffer
authorGilad Ben-Yossef <[email protected]>
Mon, 27 Feb 2017 22:28:29 +0000 (14:28 -0800)
committerLinus Torvalds <[email protected]>
Tue, 28 Feb 2017 02:43:46 +0000 (18:43 -0800)
commitd31712009709774506e536a3cc1f7c512f550a0c
tree585ef4a193d63365b9108e414afe146665559988
parent1d5210ef706523529d3cc16fd70be0a466253466
scatterlist: do not disable IRQs in sg_copy_buffer

Commit 50bed2e2862a ("sg: disable interrupts inside sg_copy_buffer")
introduced disabling interrupts in sg_copy_buffer() since atomic uses of
miter required it due to use of kmap_atomic().

However, as commit 8290e2d2dcbf ("scatterlist: atomic sg_mapping_iter()
no longer needs disabled IRQs") acknowledges disabling interrupts is no
longer needed for calls to kmap_atomic() and therefore unneeded for
miter ops either, so remove it from sg_copy_buffer().

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Gilad Ben-Yossef <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/scatterlist.c