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

From: David Howells

Date: Fri Dec 19 2025 - 06:26:35 EST


asmadeus@xxxxxxxxxxxxx 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