Re: [PATCH] 9p/virtio: restrict page pinning to user_backed_iter() iovec

David Howells
2025-12-19T11:26:33Z

asmadeus@codewreck.org wrote:

> FWIW, the comment at the top of extract_iter_to_sg() says:
> > The iov_iter_extract_mode() function should be used to query how cleanup
> but I couldn't find any such function (even back when this comment was
> added to netfs code in 2023...), the two copies of this comment probably
> could use updating... David?

Ah, the function got renamed to iov_iter_extract_will_pin() instead. I need
to fix the comment.

David