Re: [PATCH v1 3/4] NFSD: Use rqstp->rq_bvec in nfsd_iter_write()

Christoph Hellwig
2025-05-08T14:26:29Z

On Wed, May 07, 2025 at 10:07:27AM -0400, cel@kernel.org wrote:
> + * Fills in @rqstp->rq_bvec, and returns the number of elements it
> + * populated in that array.
> */
> unsigned int svc_fill_write_vector(struct svc_rqst *rqstp,
> const struct xdr_buf *payload)

The caller can simply use xdr_buf_to_bvec as done in my version of
this and we can kill this helper.