Re: [GIT PULL] one more nfsd fix for 6.5-rc

From: Linus Torvalds
Date: Thu Aug 17 2023 - 10:51:00 EST


On Thu, 17 Aug 2023 at 16:11, Chuck Lever III <chuck.lever@xxxxxxxxxx> wrote:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git tags/nfsd-6.5-4

I've pulled this, but...

> Jeff Layton (1):
> sunrpc: set the bv_offset of first bvec in svc_tcp_sendmsg

.. what an odd place to set bv_offset that is.

I'm sure it's right, but it really smells odd to set that initial
offset not when the bvec is created, but long afterwards, just before
it is used.

Is there some reason why 'bv_offset' isn't initialized when the bvec is created?

Linus