$OpenBSD: patch-gio_gunionvolumemonitor_c,v 1.3 2015/12/23 14:43:58 ajacoutot Exp $

From 42b160b19f18ccb86fecac4553242ebd7ee8b78b Mon Sep 17 00:00:00 2001
From: Steven Chamberlain <steven@pyro.eu.org>
Date: Tue, 22 Dec 2015 09:28:36 +0100
Subject: gio: drop obsoleted lock causing deadlocks on FreeBSD

--- gio/gunionvolumemonitor.c.orig	Sat Jul  5 01:59:10 2014
+++ gio/gunionvolumemonitor.c	Tue Dec 22 09:49:38 2015
@@ -591,11 +591,7 @@ _g_mount_get_for_mount_path (const gchar  *mount_path,
   mount = NULL;
 
   if (klass->get_mount_for_mount_path)
-    {
-      g_rec_mutex_lock (&the_volume_monitor_mutex);
-      mount = klass->get_mount_for_mount_path (mount_path, cancellable);
-      g_rec_mutex_unlock (&the_volume_monitor_mutex);
-    }
+    mount = klass->get_mount_for_mount_path (mount_path, cancellable);
 
   /* TODO: How do we know this succeeded? Keep in mind that the native
    *       volume monitor may fail (e.g. not being able to connect to
