]> git.baikalelectronics.ru Git - kernel.git/commit
iomap: remove superflous pagefault_disable from iomap_write_actor
authorChristoph Hellwig <hch@lst.de>
Tue, 16 Aug 2016 22:40:18 +0000 (08:40 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 16 Aug 2016 22:40:18 +0000 (08:40 +1000)
commit0c6dc8c13f83926a0de1d3ad4cc14e720ce9e14b
tree0554868d0be9433ccc3279d1adf42c2afae30d6d
parent47e38b82ec8290e253113addc0084e6b172b10e8
iomap: remove superflous pagefault_disable from iomap_write_actor

iov_iter_copy_from_user_atomic disables page faults internally, no need to
do it around the call.  This also brings the iomap code in line with
the original filemap version.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/iomap.c