1 gam_server deadlocks, leading to all KDE applications hanging at start
2 https://bugzilla.redhat.com/show_bug.cgi?id=786170
4 Also happens to lock courier-imapd processes in pld linux
6 From 50df2c4de7b3aa8bed8781c92afb9a635a01df3f Mon Sep 17 00:00:00 2001
7 From: Sandro Mani <manisandro@gmail.com>
8 Date: Fri, 3 Feb 2012 09:10:21 +0100
9 Subject: [PATCH] Fix double lock
11 https://bugzilla.gnome.org/show_bug.cgi?id=669292
13 server/inotify-helper.c | 4 ----
14 1 files changed, 0 insertions(+), 4 deletions(-)
16 diff --git a/server/inotify-helper.c b/server/inotify-helper.c
17 index d77203e..defa7c6 100644
18 --- a/server/inotify-helper.c
19 +++ b/server/inotify-helper.c
20 @@ -127,9 +127,6 @@ ih_sub_add (ih_sub_t * sub)
22 ih_sub_cancel (ih_sub_t * sub)
24 - G_LOCK(inotify_lock);
29 IH_W("cancelling %s\n", sub->pathname);
30 @@ -140,7 +137,6 @@ ih_sub_cancel (ih_sub_t * sub)
31 sub_list = g_list_remove (sub_list, sub);
34 - G_UNLOCK(inotify_lock);