Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
systemd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
steam
systemd
Commits
437dca8b
Commit
437dca8b
authored
Sep 25, 2010
by
Lennart Poettering
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readahead: never readahead temporary files since their names tend not to be stable
parent
75a010e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/readahead-collect.c
src/readahead-collect.c
+4
-2
No files found.
src/readahead-collect.c
View file @
437dca8b
...
...
@@ -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 */
free
(
p
);
else
{
unsigned
long
ul
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment