]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-windows-scache-ref-leak-20061002
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 3 Oct 2006 03:28:43 +0000 (03:28 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 3 Oct 2006 03:28:43 +0000 (03:28 +0000)
when handling VNOVNODE must release the scache entry.

(cherry picked from commit 62e5dab3d6ea8105cec253b45cef3ebcc0da1930)

src/WINNT/afsd/cm_conn.c

index e71b01e85aff54c36bc54fd02dd4458269399ba2..ea660c7de171a626a776b1882c0257b2d337da19 100644 (file)
@@ -417,6 +417,7 @@ cm_Analyze(cm_conn_t *connp, cm_user_t *userp, cm_req_t *reqp,
 
                lock_ObtainWrite(&cm_scacheLock);
                cm_RecycleSCache(scp, CM_SCACHE_RECYCLEFLAG_DESTROY_BUFFERS);
+               cm_ReleaseSCacheNoLock(scp);
                lock_ReleaseWrite(&cm_scacheLock);
 
                if (pscp) {