diff options
Diffstat (limited to 'debian/patches/gpg0002-adjust-to-lockless-libnetfs.patch')
-rw-r--r-- | debian/patches/gpg0002-adjust-to-lockless-libnetfs.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/gpg0002-adjust-to-lockless-libnetfs.patch b/debian/patches/gpg0002-adjust-to-lockless-libnetfs.patch new file mode 100644 index 00000000..ba34ab46 --- /dev/null +++ b/debian/patches/gpg0002-adjust-to-lockless-libnetfs.patch @@ -0,0 +1,30 @@ +From 097608e592a00ca8382e13e3aaad4be4f28afeb4 Mon Sep 17 00:00:00 2001 +From: Justus Winter <justus@gnupg.org> +Date: Mon, 7 Mar 2016 19:35:39 +0100 +Subject: [PATCH hurd 2/2] adjust to lockless libnetfs + +--- + trans/chroot.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/trans/chroot.c b/trans/chroot.c +index 089ad84..8d6f111 100644 +--- a/trans/chroot.c ++++ b/trans/chroot.c +@@ -74,13 +74,10 @@ void + netfs_node_norefs (struct node *np) + { + pthread_mutex_unlock (&np->lock); +- pthread_spin_unlock (&netfs_node_refcnt_lock); + + chroot_node_norefs (np); + mach_port_deallocate (mach_task_self (), netfs_node_netnode (np)->file); + free (np); +- +- pthread_spin_lock (&netfs_node_refcnt_lock); + } + + /* This is the cleanup function we install in netfs_protid_class. If +-- +2.1.4 + |