]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
nfsd: split off the write decode code into a separate function
authorFrank van der Linden <fllinden@amazon.com>
Tue, 23 Jun 2020 22:39:21 +0000 (22:39 +0000)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 13 Jul 2020 21:27:03 +0000 (17:27 -0400)
commit874c7b8ea545c7ebc50990843a234eafbc5c0c7f
tree838c511f63d02ad6f5a3f5576de5fd4a5a79078b
parentcab8d289c5ad541a5351a651d95c4086b7f84d7c
nfsd: split off the write decode code into a separate function

nfs4_decode_write has code to parse incoming XDR write data in to
a kvec head, and a list of pages.

Put this code in to a separate function, so that it can be used
later by the xattr code, for setxattr. No functional change.

Signed-off-by: Frank van der Linden <fllinden@amazon.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4xdr.c