iov_iter_fault_in_readable() should do nothing in xarray case

commit 0e8f0d6740 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>
This commit is contained in:
Al Viro 2021-06-02 14:48:21 -04:00 • committed by Greg Kroah-Hartman
commit fcc4582ff2