mount: remove unused mount_is_auto and mount_is_automount
This commit is contained in:
parent
142b8142d7
commit
d0fe45cb15
|
@ -101,20 +101,6 @@ static bool mount_is_bind(const MountParameters *p) {
|
||||||
return false;
|
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) {
|
static bool mount_is_bound_to_device(const Mount *m) {
|
||||||
const MountParameters *p;
|
const MountParameters *p;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue