[tracker/tracker-0.10] tracker-miner-fs: Postpone sparql update on mount after cancellation
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-miner-fs: Postpone sparql update on mount after cancellation
- Date: Thu, 16 Jun 2011 16:10:54 +0000 (UTC)
commit fc545e8490aa1538aa274feb85c329234761760b
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Jun 14 17:34:55 2011 +0200
tracker-miner-fs: Postpone sparql update on mount after cancellation
This is a less critical task than cancellation, which might be holding
unmount, so perform it after the rush is gone.
src/miners/fs/tracker-miner-files.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index 64412fa..1ff5467 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -1149,13 +1149,13 @@ mount_point_removed_cb (TrackerStorage *storage,
/* Notify extractor about cancellation of all tasks under the mount point */
extractor_cancel_tasks (miner->private->connection, mount_point_file);
- /* Set mount point status in tracker-store */
- set_up_mount_point (miner, urn, mount_point, NULL, FALSE, NULL);
-
/* Tell TrackerMinerFS to skip monitoring everything under the mount
* point (in case there was no pre-unmount notification) */
tracker_miner_fs_directory_remove (TRACKER_MINER_FS (miner), mount_point_file);
+ /* Set mount point status in tracker-store */
+ set_up_mount_point (miner, urn, mount_point, NULL, FALSE, NULL);
+
g_free (urn);
g_object_unref (mount_point_file);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]