chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b043846
)
fstab-generator: Do not check deviceless filesystems
author
Tobias Hunger
<tobias.hunger@gmail.com>
Mon, 23 Mar 2015 23:53:00 +0000
(
00:53
+0100)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 24 Mar 2015 04:12:03 +0000
(
00:12
-0400)
There is no need to check those.
src/shared/generator.c
patch
|
blob
|
history
diff --git
a/src/shared/generator.c
b/src/shared/generator.c
index 569b25bb7c882ded2e3863ec6b7fd4a0d2826f98..c348ca2e04ed8189369a40ffaaaa531ce9d6bd37 100644
(file)
--- a/
src/shared/generator.c
+++ b/
src/shared/generator.c
@@
-42,6
+42,11
@@
int generator_write_fsck_deps(
assert(what);
assert(where);
+ if (fstype_is_deviceless(fstype)) {
+ log_debug("Not checking deviceless filesystem \"%s\".", fstype);
+ return 0;
+ }
+
if (!is_device_path(what)) {
log_warning("Checking was requested for \"%s\", but it is not a device.", what);
return 0;