commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 09/30: libdiskfs: fix parent lookup in the name cache


From: Samuel Thibault
Subject: [hurd] 09/30: libdiskfs: fix parent lookup in the name cache
Date: Tue, 22 Sep 2015 21:51:58 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit fddacaea0c816639e5ad02e5c7237c4e53ebb5f7
Author: Justus Winter <address@hidden>
Date:   Fri Aug 14 12:41:58 2015 +0200

    libdiskfs: fix parent lookup in the name cache
    
    * libdiskfs/name-cache.c (diskfs_check_lookup_cache): Drop stray negation.
---
 libdiskfs/name-cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libdiskfs/name-cache.c b/libdiskfs/name-cache.c
index d8f86b1..e9fe27e 100644
--- a/libdiskfs/name-cache.c
+++ b/libdiskfs/name-cache.c
@@ -355,7 +355,7 @@ diskfs_check_lookup_cache (struct node *dir, const char 
*name)
              pthread_mutex_lock (&cache_lock);
              found = lookup (dir->cache_id, name, key, &bucket, &i);
              if (! found
-                 || ! bucket->node_cache_id[i] != id)
+                 || bucket->node_cache_id[i] != id)
                {
                  pthread_mutex_unlock (&cache_lock);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]