Date: Sun, 19 Sep 2010 01:18:03 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfsserver nfs_nfsdstate.c Message-ID: <201009190118.o8J1IJpE097895@repoman.freebsd.org>
index | next in thread | raw e-mail
rmacklem 2010-09-19 01:18:03 UTC
FreeBSD src repository
Modified files:
sys/fs/nfsserver nfs_nfsdstate.c
Log:
SVN rev 212834 on 2010-09-19 01:18:03Z by rmacklem
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
Revision Changes Path
1.22 +7 -4 src/sys/fs/nfsserver/nfs_nfsdstate.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009190118.o8J1IJpE097895>
