Date: Mon, 25 Oct 2010 17:05:14 +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: <201010251705.o9PH5RrH094543@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2010-10-25 17:05:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/fs/nfsserver nfs_nfsdstate.c Log: SVN rev 214353 on 2010-10-25 17:05:14Z by rmacklem MFC: r213712 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 a known bug. Revision Changes Path 1.10.2.14 +36 -8 src/sys/fs/nfsserver/nfs_nfsdstate.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010251705.o9PH5RrH094543>