From fddacaea0c816639e5ad02e5c7237c4e53ebb5f7 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Fri, 14 Aug 2015 12:41:58 +0200 Subject: 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(-) (limited to 'libdiskfs') diff --git a/libdiskfs/name-cache.c b/libdiskfs/name-cache.c index d8f86b15..e9fe27ea 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); -- cgit v1.2.3