Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iov_iter_get_pages(): sanity-check arguments
zero maxpages is bogus, but best treated as "just return 0"; NULL pages, OTOH, should be treated as a hard bug. get rid of now completely useless checks in xarray_get_pages{,_alloc}(). Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Al Viro <[email protected]>
- Loading branch information