projects
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbc3135
)
mount: remove unused mount_is_auto and mount_is_automount
author
Tom Yan
<tom.ty89@gmail.com>
Wed, 9 Jan 2019 16:19:43 +0000
(
00:19
+0800)
committer
Michael Biebl
<biebl@debian.org>
Fri, 29 Jan 2021 14:16:06 +0000
(14:16 +0000)
(cherry picked from commit
d0fe45cb151774827a3aca4ea5a19856dec9f600
)
Gbp-Pq: Name mount-remove-unused-mount_is_auto-and-mount_is_automount.patch
src/core/mount.c
patch
|
blob
|
history
diff --git
a/src/core/mount.c
b/src/core/mount.c
index 7064fa1439df5a3f29db161e97963d4626a88e67..8da818beeee685b8991a55f4621165ac1f1cc6c6 100644
(file)
--- a/
src/core/mount.c
+++ b/
src/core/mount.c
@@
-101,20
+101,6
@@
static bool mount_is_bind(const MountParameters *p) {
return false;
}
-static bool mount_is_auto(const MountParameters *p) {
- assert(p);
-
- return !fstab_test_option(p->options, "noauto\0");
-}
-
-static bool mount_is_automount(const MountParameters *p) {
- assert(p);
-
- return fstab_test_option(p->options,
- "comment=systemd.automount\0"
- "x-systemd.automount\0");
-}
-
static bool mount_is_bound_to_device(const Mount *m) {
const MountParameters *p;