Commit 437dca8b authored by Lennart Poettering's avatar Lennart Poettering
Browse files

readahead: never readahead temporary files since their names tend not to be stable

parent 75a010e0
......@@ -324,8 +324,10 @@ static int collect(const char *root) {
if ((k = readlink_malloc(fn, &p)) >= 0) {
if (hashmap_get(files, p))
/* Already read */
if (startswith(p, "/tmp") ||
hashmap_get(files, p))
/* Not interesting, or
* already read */
else {
unsigned long ul;
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