Date: Mon, 27 Sep 2010 02:57:44 +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: <201009270258.o8R2w4Fg031483@repoman.freebsd.org>
index | next in thread | raw e-mail
rmacklem 2010-09-27 02:57:44 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/fs/nfsserver nfs_nfsdstate.c
Log:
SVN rev 213193 on 2010-09-27 02:57:44Z by rmacklem
MFC: r212834
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.
Revision Changes Path
1.10.2.13 +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?201009270258.o8R2w4Fg031483>
