summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/name-cache.c2
1 files changed, 1 insertions, 1 deletions
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);