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:
parent
251126898a
commit
0224dc3bc1
@ -542,7 +542,6 @@ nfsrv_adminrevoke(struct nfsd_clid *revokep, NFSPROC_T *p)
|
|||||||
* file.
|
* file.
|
||||||
*/
|
*/
|
||||||
NFSLOCKV4ROOTMUTEX();
|
NFSLOCKV4ROOTMUTEX();
|
||||||
nfsv4_relref(&nfsv4rootfs_lock);
|
|
||||||
do {
|
do {
|
||||||
igotlock = nfsv4_lock(&nfsv4rootfs_lock, 1, NULL,
|
igotlock = nfsv4_lock(&nfsv4rootfs_lock, 1, NULL,
|
||||||
NFSV4ROOTLOCKMUTEXPTR);
|
NFSV4ROOTLOCKMUTEXPTR);
|
||||||
|
Loading…
Reference in New Issue
Block a user