]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-vclosevnodefiles-ihandle-leak-20090216
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 17 Feb 2009 04:37:59 +0000 (04:37 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 17 Feb 2009 04:37:59 +0000 (04:37 +0000)
LICENSE IPL10
FIXES 124359

don't leak ihandles on close. this isn't a complete fix for the issue

(cherry picked from commit b9816e12f7ed8213c9c4eaea09e992e69ce4ee05)

src/vol/vnode.c

index dfd159db1c8711fc902c81fc3933a03ea2102d75..c8b7b14133c8bd702bafba6c016218f292a383dd 100644 (file)
@@ -959,6 +959,7 @@ VCloseVnodeFiles_r(Volume * vp)
        for (vnp = VnodeHashTable[i]; vnp; vnp = vnp->hashNext) {
            if (vnp->volumePtr == vp) {
                IH_REALLYCLOSE(vnp->handle);
+               IH_RELEASE(vnp->handle);
            }
        }
     }