summaryrefslogtreecommitdiff
path: root/debian/patches/0011-fixup_isofs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0011-fixup_isofs.patch')
-rw-r--r--debian/patches/0011-fixup_isofs.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/0011-fixup_isofs.patch b/debian/patches/0011-fixup_isofs.patch
new file mode 100644
index 00000000..20091dd1
--- /dev/null
+++ b/debian/patches/0011-fixup_isofs.patch
@@ -0,0 +1,27 @@
+From 12097a157de0532600aee3c8304aef90c4baed75 Mon Sep 17 00:00:00 2001
+From: Justus Winter <4winter@informatik.uni-hamburg.de>
+Date: Wed, 15 Apr 2015 14:05:34 +0200
+Subject: [PATCH hurd 11/16] fixup_isofs
+
+---
+ isofs/inode.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/isofs/inode.c b/isofs/inode.c
+index 340bc9c..e79ebdd 100644
+--- a/isofs/inode.c
++++ b/isofs/inode.c
+@@ -354,9 +354,9 @@ load_inode (struct node **npp, struct dirrect *record,
+
+ pthread_rwlock_rdlock (&nodecache_lock);
+ inode_cache_find (id, npp);
++ pthread_rwlock_unlock (&nodecache_lock);
+ if (*npp)
+ return 0;
+- pthread_rwlock_unlock (&nodecache_lock);
+
+ /* Create a new node */
+ dn = malloc (sizeof (struct disknode));
+--
+2.1.4
+