projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c6803f
)
mount: add debug logging for the case when we knowingly ignore an error
author
Lennart Poettering
<lennart@poettering.net>
Mon, 10 Jul 2017 19:41:02 +0000
(21:41 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 10 Jul 2017 19:41:02 +0000
(21:41 +0200)
src/mount/mount-tool.c
patch
|
blob
|
history
diff --git
a/src/mount/mount-tool.c
b/src/mount/mount-tool.c
index
21c3b13
..
23083fd
100644
(file)
--- a/
src/mount/mount-tool.c
+++ b/
src/mount/mount-tool.c
@@
-779,8
+779,10
@@
static int find_loop_device(const char *backing_file, char **loop_dev) {
return -ENOMEM;
r = read_one_line_file(sys, &fname);
- if (r < 0)
+ if (r < 0) {
+ log_debug_errno(r, "Failed to read %s, ignoring: %m", sys);
continue;
+ }
if (files_same(fname, backing_file, 0) <= 0)
continue;