Blame SOURCES/gamin-0.1.11-double-lock.patch

3bb553
From 50df2c4de7b3aa8bed8781c92afb9a635a01df3f Mon Sep 17 00:00:00 2001
3bb553
From: Sandro Mani <manisandro@gmail.com>
3bb553
Date: Fri, 3 Feb 2012 09:10:21 +0100
3bb553
Subject: [PATCH] Fix double lock
3bb553
3bb553
https://bugzilla.gnome.org/show_bug.cgi?id=669292
3bb553
---
3bb553
 server/inotify-helper.c |    4 ----
3bb553
 1 files changed, 0 insertions(+), 4 deletions(-)
3bb553
3bb553
diff --git a/server/inotify-helper.c b/server/inotify-helper.c
3bb553
index d77203e..defa7c6 100644
3bb553
--- a/server/inotify-helper.c
3bb553
+++ b/server/inotify-helper.c
3bb553
@@ -127,9 +127,6 @@ ih_sub_add (ih_sub_t * sub)
3bb553
 gboolean
3bb553
 ih_sub_cancel (ih_sub_t * sub)
3bb553
 {
3bb553
-	G_LOCK(inotify_lock);
3bb553
-
3bb553
-
3bb553
 	if (!sub->cancelled)
3bb553
 	{
3bb553
 		IH_W("cancelling %s\n", sub->pathname);
3bb553
@@ -140,7 +137,6 @@ ih_sub_cancel (ih_sub_t * sub)
3bb553
 		sub_list = g_list_remove (sub_list, sub);
3bb553
 	}
3bb553
 
3bb553
-	G_UNLOCK(inotify_lock);
3bb553
 	return TRUE;
3bb553
 }
3bb553
 
3bb553
-- 
3bb553
1.7.9
3bb553