]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nfsd: Fix pNFS handling of Deallocate
authorRick Macklem <rmacklem@FreeBSD.org>
Sat, 2 Oct 2021 21:11:15 +0000 (14:11 -0700)
committerRick Macklem <rmacklem@FreeBSD.org>
Sat, 2 Oct 2021 21:11:15 +0000 (14:11 -0700)
commit93a32050abac11d22d849d9cf2014370662269a7
treeb01bf6ac178ab700a2982f6d7e282eb00d78b32a
parent3fe686f25a0d0844dc3afd0b3b067ec46abdbc99
nfsd: Fix pNFS handling of Deallocate

For a pNFS server configuration, an NFSv4.2 Deallocate operation
is proxied to the DS(s).  The code that parsed the reply for the
proxy RPC is broken and did not process the pre-operation attributes.

This patch fixes this problem.

This bug would only affect pNFS servers built from recent main/FreeBSD14
sources.
sys/fs/nfsserver/nfs_nfsdport.c