diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2009-05-17 19:33:48 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2009-05-17 19:33:48 +0000 |
commit | e0d8f490bb822fb6f60fa9672af936308f951ebc (patch) | |
tree | 224d0538b0ea7c57220a67128515ff48478e0749 /sys/dev/usb/wlan | |
parent | eb2f3f3914981565ecb393ab787bcab9e2f34acd (diff) | |
download | FreeBSD-src-e0d8f490bb822fb6f60fa9672af936308f951ebc.zip FreeBSD-src-e0d8f490bb822fb6f60fa9672af936308f951ebc.tar.gz |
Fix the acquisition of local locks via VOP_ADVLOCK() by the
experimental nfsv4 server. It was setting the a_id argument
to a fixed value, but that wasn't sufficient for FreeBSD8.
Instead, set l_pid and l_sysid to 0 plus set the F_REMOTE
flag to indicate that these fields are used to check for
same lock owner. Since, for NFSv4, a lockowner is a ClientID plus
an up to 1024byte name, it can't be put in l_sysid easily.
I also renamed the p variable to td, since it's a thread ptr.
Approved by: kib (mentor)
Diffstat (limited to 'sys/dev/usb/wlan')
0 files changed, 0 insertions, 0 deletions