blob: db5e018d5ee9c9f4e91e8067e8c71139d1e8177b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
From 5af4b917f5f239579779e328ff74271d0414ba9d 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: [PATCH hurd] 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);
--
2.1.4
|