Date: Mon, 11 Oct 2010 23:15:18 +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: <201010112315.o9BNFTw8046872@repoman.freebsd.org>
index | next in thread | raw e-mail
rmacklem 2010-10-11 23:15:18 UTC
FreeBSD src repository
Modified files:
sys/fs/nfsserver nfs_nfsdstate.c
Log:
SVN rev 213712 on 2010-10-11 23:15:18Z by rmacklem
Try and make the nfsrv_localunlock() function in the experimental
NFSv4 server more readable. Mostly changes to comments, but a
case of >= is changed to >, since == can never happen. Also, I've
added a couple of KASSERT()s and a slight optimization, since
once the "else if" case happens, subsequent locks in the list can't
have any effect. None of these changes fixes any known bug.
MFC after: 2 weeks
Revision Changes Path
1.23 +36 -8 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?201010112315.o9BNFTw8046872>
