summaryrefslogtreecommitdiffstats
path: root/src/readahead
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-01-03 22:37:38 +0100
committerLennart Poettering <lennart@poettering.net>2013-01-03 22:37:38 +0100
commit1c981ff22e8a8ec04c2bbbe10aed0f3b4ff118bb (patch)
treefccc0eb3e90ea37d78bcac7e04501ce556cc6929 /src/readahead
parentman: clarify that specifiers cannot be used in ExecStart='s first argument (diff)
downloadsystemd-1c981ff22e8a8ec04c2bbbe10aed0f3b4ff118bb.tar.xz
systemd-1c981ff22e8a8ec04c2bbbe10aed0f3b4ff118bb.zip
readahead: don't complain that we cannot precache symlinks
http://lists.freedesktop.org/archives/systemd-devel/2012-December/007847.html
Diffstat (limited to 'src/readahead')
-rw-r--r--src/readahead/readahead-replay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readahead/readahead-replay.c b/src/readahead/readahead-replay.c
index a1ac6b0c91..cb04e5f9cd 100644
--- a/src/readahead/readahead-replay.c
+++ b/src/readahead/readahead-replay.c
@@ -64,7 +64,7 @@ static int unpack_file(FILE *pack) {
fd = open(fn, O_RDONLY|O_CLOEXEC|O_NOATIME|O_NOCTTY|O_NOFOLLOW);
if (fd < 0) {
- if (errno != ENOENT && errno != EPERM && errno != EACCES)
+ if (errno != ENOENT && errno != EPERM && errno != EACCES && errno != ELOOP)
log_warning("open(%s) failed: %m", fn);
} else if (file_verify(fd, fn, arg_file_size_max, &st) <= 0) {