]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r223747
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Jul 2011 20:49:38 +0000 (20:49 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Jul 2011 20:49:38 +0000 (20:49 +0000)
commit347168690dd5fa599eb7f089c5e08d485092db5d
tree3543d95b27aaf889726c6149f6043865f6f52796
parentfce71df877a20cceb4308ab09c00638cd2036b6d
MFC: r223747
Modify the new NFSv4 client so that it appends a file handle
to the lock_owner4 string that goes on the wire. Also, add
code to do a ReleaseLockOwner Op on the lock_owner4 string
before a Close. Apparently not all NFSv4 servers handle multiple
instances of the same lock_owner4 string, at least not in a
compatible way. This patch avoids having multiple instances,
except for one unusual case, which will be fixed by a future commit.
Found at the recent NFSv4 interoperability Bakeathon.

git-svn-id: svn://svn.freebsd.org/base/stable/8@224149 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfs/nfs_var.h
sys/fs/nfsclient/nfs_clrpcops.c
sys/fs/nfsclient/nfs_clstate.c