This patch fixes a bug in the experimental NFSv4 server where it

released a reference count on nfsv4rootfs_lock erroneously when
administrative revocation of state was done.

Submitted by:	zack.kirsch at isilon.com
MFC after:	2 weeks
This commit is contained in:
rmacklem 2010-07-15 03:02:10 +00:00
parent 251126898a
commit 0224dc3bc1

View File

@ -542,7 +542,6 @@ nfsrv_adminrevoke(struct nfsd_clid *revokep, NFSPROC_T *p)
* file.
*/
NFSLOCKV4ROOTMUTEX();
nfsv4_relref(&nfsv4rootfs_lock);
do {
igotlock = nfsv4_lock(&nfsv4rootfs_lock, 1, NULL,
NFSV4ROOTLOCKMUTEXPTR);