]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iov_iter_fault_in_readable() should do nothing in xarray case
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 Jun 2021 18:48:21 +0000 (14:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:22:30 +0000 (16:22 +0200)
commitfe64755f5de79918053e3737f0187ce628195342
treea6d49d56cd82a21c186401da33071916ba829c5e
parente7d81e930a4d4b0dbb1a863643f3a47ea866c741
iov_iter_fault_in_readable() should do nothing in xarray case

commit 0e8f0d67401589a141950856902c7d0ec8d9c985 upstream.

... and actually should just check it's given an iovec-backed iterator
in the first place.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/iov_iter.c