[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 58/61: libdiskfs: fix node leak in the name cache
From: |
Samuel Thibault |
Subject: |
[hurd] 58/61: libdiskfs: fix node leak in the name cache |
Date: |
Tue, 27 May 2014 08:32:15 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit b16f334192dbac002a33c31645e228d349de3c72
Author: Justus Winter <address@hidden>
Date: Sat May 24 20:29:23 2014 +0200
libdiskfs: fix node leak in the name cache
* libdiskfs/name-cache.c (diskfs_check_lookup_cache): Release node
reference in a special case of lookup failure.
---
libdiskfs/name-cache.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libdiskfs/name-cache.c b/libdiskfs/name-cache.c
index c113692..a212a6d 100644
--- a/libdiskfs/name-cache.c
+++ b/libdiskfs/name-cache.c
@@ -249,6 +249,7 @@ diskfs_check_lookup_cache (struct node *dir, const char
*name)
{
/* Lose */
pthread_mutex_unlock (&np->lock);
+ diskfs_nrele (np);
return 0;
}
}
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 42/61: proc: move translation functions to mig-decls.h, (continued)
- [hurd] 42/61: proc: move translation functions to mig-decls.h, Samuel Thibault, 2014/05/27
- [hurd] 31/61: libports: unlock _ports_lock on malloc failure, Samuel Thibault, 2014/05/27
- [hurd] 61/61: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2014/05/27
- [hurd] 43/61: libihash: fix typo, Samuel Thibault, 2014/05/27
- [hurd] 56/61: ext2fs: fix diskfs_pager_users, Samuel Thibault, 2014/05/27
- [hurd] 57/61: trans/mtab: fix initialization, Samuel Thibault, 2014/05/27
- [hurd] 55/61: libpager: drop unused fields from struct pager, Samuel Thibault, 2014/05/27
- [hurd] 49/61: libdiskfs: lock-less reference counting for peropen objects, Samuel Thibault, 2014/05/27
- [hurd] 30/61: ext2fs: use two distinct pager buckets for the disk and file pager, Samuel Thibault, 2014/05/27
- [hurd] 45/61: include: add lock-less reference counting primitives, Samuel Thibault, 2014/05/27
- [hurd] 58/61: libdiskfs: fix node leak in the name cache,
Samuel Thibault <=
- [hurd] 51/61: pfinet: add missing include, Samuel Thibault, 2014/05/27
- [hurd] 38/61: libihash: use fast binary scaling to determine the load, Samuel Thibault, 2014/05/27
- [hurd] 53/61: Avoid compiler warning about empty bodies, Samuel Thibault, 2014/05/27
- [hurd] 60/61: libtrivfs: lock-less reference counting for trivfs_peropen objects, Samuel Thibault, 2014/05/27
- [hurd] 59/61: libihash: do not use an integer hash function by default, Samuel Thibault, 2014/05/27
- [hurd] 15/61: Include the MIG-generated server header files, Samuel Thibault, 2014/05/27