diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/iov_iter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/iov_iter.c b/lib/iov_iter.c index 48b8c27acabb..0ce341125195 100644 --- a/lib/iov_iter.c +++ b/lib/iov_iter.c @@ -396,8 +396,7 @@ int iov_iter_fault_in_readable(struct iov_iter *i, size_t bytes) if (!(i->type & (ITER_BVEC|ITER_KVEC))) { iterate_iovec(i, bytes, v, iov, skip, ({ - err = fault_in_multipages_readable(v.iov_base, - v.iov_len); + err = fault_in_pages_readable(v.iov_base, v.iov_len); if (unlikely(err)) return err; 0;})) |