]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NFSD: De-duplicate the svc_fill_write_vector() call sites
authorChuck Lever <chuck.lever@oracle.com>
Fri, 9 May 2025 17:39:23 +0000 (13:39 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Thu, 15 May 2025 20:16:23 +0000 (16:16 -0400)
commitf2e597353d50f05a600dddbf84a362839cf1c224
treec266cf6ebd7243230f971f874570f1484b413501
parent2a48f3adc2ddb922ea5dc602e2e52952df91a99c
NFSD: De-duplicate the svc_fill_write_vector() call sites

All three call sites do the same thing.

I'm struggling with this a bit, however. struct xdr_buf is an XDR
layer object and unmarshaling a WRITE payload is clearly a task
intended to be done by the proc and xdr functions, not by VFS. This
feels vaguely like a layering violation.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs3proc.c
fs/nfsd/nfs4proc.c
fs/nfsd/nfsproc.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h
include/linux/sunrpc/svc.h
net/sunrpc/svc.c