]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r317305
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 8 May 2017 20:30:30 +0000 (20:30 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 8 May 2017 20:30:30 +0000 (20:30 +0000)
commitb2918d1709e43d6f39a79427f44e5daefb7f2153
treec2476431f3db246dd36c5e5304bd20d02fe20b38
parent1462ad54341f42a9365c0c536380a3d002963fbd
MFC: r317305
Fix the NFSv4.1/pNFS client return layout on close.

The "return layout on close" case in the pNFS client was badly broken.
Fortunately, extant pNFS servers that I have tested against do not
do this. This patch fixes it. It also changes the way the layout stateid.seqid
is set for LayoutReturn. I think this change is correct w.r.t. the RFC,
but I am not 100% sure.
This was found during recent testing of the pNFS server under development.

git-svn-id: svn://svn.freebsd.org/base/stable/10@317978 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clstate.c