Commit 98ec9cde authored by Carlos Garnacho's avatar Carlos Garnacho

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.
parent 061037ea
......@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment