summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-08-14 13:16:24 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-08-14 13:16:24 +0200
commit5237047c855c6f91a2c741e07b84ae080e93e45b (patch)
tree2beaa444abc74987eaf86428d41062b7953f7107 /debian
parent91b7d25f39150c6cd6fd17c181788e6ebb2acbd4 (diff)
add patch series
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/fix-name-cache0001-libdiskfs-fix-parent-lookup-in-the-name-cache.patch26
-rw-r--r--debian/patches/series1
2 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/fix-name-cache0001-libdiskfs-fix-parent-lookup-in-the-name-cache.patch b/debian/patches/fix-name-cache0001-libdiskfs-fix-parent-lookup-in-the-name-cache.patch
new file mode 100644
index 00000000..db5e018d
--- /dev/null
+++ b/debian/patches/fix-name-cache0001-libdiskfs-fix-parent-lookup-in-the-name-cache.patch
@@ -0,0 +1,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
+
diff --git a/debian/patches/series b/debian/patches/series
index 7a9a374d..78bc2c79 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -70,3 +70,4 @@ introspection0005-libdiskfs-annotate-objects-managed-by-libports.patch
introspection0006-libpager-annotate-objects-managed-by-libports.patch
introspection0007-ext2fs-annotate-objects-managed-by-libports.patch
introspection0008-utils-rpctrace-support-attaching-to-servers.patch
+fix-name-cache0001-libdiskfs-fix-parent-lookup-in-the-name-cache.patch