X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fmount.h;h=072b0e044757d792aab0cdf7b13e05716ca8f50e;hb=6962fd3bd28cb5d3aaff69c1e3b6cc006e7c8426;hp=22a14e1a3f9d98e74607bb3ba006e73ea7d2590f;hpb=5bcb0f2ba0615897662fcd4f6227d066781c6fc2;p=elogind.git diff --git a/src/core/mount.h b/src/core/mount.h index 22a14e1a3..072b0e044 100644 --- a/src/core/mount.h +++ b/src/core/mount.h @@ -23,10 +23,8 @@ typedef struct Mount Mount; -#include "unit.h" #include "kill.h" #include "execute.h" -#include "cgroup.h" typedef enum MountState { MOUNT_DEAD, @@ -88,6 +86,10 @@ struct Mount { bool just_mounted:1; bool just_changed:1; + bool reset_cpu_usage:1; + + bool sloppy_options; + MountResult result; MountResult reload_result; @@ -101,6 +103,8 @@ struct Mount { KillContext kill_context; CGroupContext cgroup_context; + ExecRuntime *exec_runtime; + MountState state, deserialized_state; ExecCommand* control_command; @@ -108,6 +112,8 @@ struct Mount { pid_t control_pid; sd_event_source *timer_event_source; + + unsigned n_retry_umount; }; extern const UnitVTable mount_vtable;