diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2010-09-19 01:18:03 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2010-09-19 01:18:03 +0000 |
commit | eebc7df64cafec4f2e406fa12be1388c91175299 (patch) | |
tree | fccf377d47e965d156e669324e6388be12be2263 /lib/libthr/thread/thr_exit.c | |
parent | 05211dfe9fe155103b65707bafb0840d073373c8 (diff) | |
download | FreeBSD-src-eebc7df64cafec4f2e406fa12be1388c91175299.zip FreeBSD-src-eebc7df64cafec4f2e406fa12be1388c91175299.tar.gz |
Fix nfsrv_freeallnfslocks() in the experimental NFSv4 server so that
it frees local locks correctly upon close. In order for
nfsrv_localunlock() to work correctly, the lock can no longer be in
the lockowner's stateid list. As such, nfsrv_freenfslock() has to
be called before nfsrv_localunlock(), to get rid of the lock structure
on the lockowner's stateid list. This only affected operation when
local locks (vfs.newnfs.enable_locallocks=1) are enabled, which is
not the default at this time.
MFC after: 1 week
Diffstat (limited to 'lib/libthr/thread/thr_exit.c')
0 files changed, 0 insertions, 0 deletions