mirror of
https://github.com/systemd/systemd.git
synced 2025-05-29 01:05:59 +03:00
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;
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user