[tracker-miners/wip/carlosg/speed-track: 6/40] tracker-miner-fs: Don't check for index roots file eligibility here
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/speed-track: 6/40] tracker-miner-fs: Don't check for index roots file eligibility here
- Date: Sun, 18 Oct 2020 20:58:43 +0000 (UTC)
commit 98ec9cdec0853cb0d171bedc92476f42b31fd6f9
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Oct 4 17:37:21 2020 +0200
tracker-miner-fs: Don't check for index roots file eligibility here
This is also done deeper on in the TrackerFileNotifier/TrackerIndexingTree,
we can avoid this specific check here.
src/miners/fs/tracker-miner-files.c | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index 53a1a47ce..6bfddfb47 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -1022,14 +1022,9 @@ init_mount_points (TrackerMinerFiles *miner_files)
flags |= TRACKER_DIRECTORY_FLAG_MONITOR;
}
- /* Add the current mount point as reported to have incorrect
- * state. We will force mtime checks on this mount points,
- * even if no-mtime-check-needed was set. */
- if (tracker_miner_files_is_file_eligible (miner_files, file)) {
- tracker_indexing_tree_add (indexing_tree,
- file,
- flags);
- }
+ tracker_indexing_tree_add (indexing_tree,
+ file,
+ flags);
}
} else if (!(state & VOLUME_MOUNTED) &&
(state & VOLUME_MOUNTED_IN_STORE)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]