[tracker/eligible: 2/2] tracker-miner-fs: Do not index non-eligible mount points on startup
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/eligible: 2/2] tracker-miner-fs: Do not index non-eligible mount points on startup
- Date: Wed, 18 Apr 2012 08:48:30 +0000 (UTC)
commit d4c9a178a22b4471b1c0ef9574259f4d2321941e
Author: JÃrg Billeter <j bitron ch>
Date: Wed Apr 18 10:45:19 2012 +0200
tracker-miner-fs: Do not index non-eligible mount points on startup
src/miners/fs/tracker-miner-files.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index f3b2e28..8e5edc8 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -1059,9 +1059,11 @@ init_mount_points (TrackerMinerFiles *miner_files)
* state. We will force mtime checks on this mount points,
* even if no-mtime-check-needed was set. */
file = g_file_new_for_path (mount_point);
- tracker_indexing_tree_add (indexing_tree,
- file,
- flags);
+ if (tracker_miner_files_is_file_eligible (miner_files, file)) {
+ tracker_indexing_tree_add (indexing_tree,
+ file,
+ flags);
+ }
g_object_unref (file);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]