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

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