chiark / gitweb /
systemctl: introduce reset-maintenance command
[elogind.git] / src / mount.h
index 3b28e89ed3ecac2a3a94c21f0b0a91f00ba8ea05..6c60167deb96bdeab9ecfd0fe4d422004d2785af 100644 (file)
@@ -39,7 +39,7 @@ typedef enum MountState {
         MOUNT_REMOUNTING_SIGKILL,
         MOUNT_UNMOUNTING_SIGTERM,
         MOUNT_UNMOUNTING_SIGKILL,
-        MOUNT_MAINTAINANCE,
+        MOUNT_MAINTENANCE,
         _MOUNT_STATE_MAX,
         _MOUNT_STATE_INVALID = -1
 } MountState;
@@ -81,13 +81,13 @@ struct Mount {
 
         usec_t timeout_usec;
 
+        mode_t directory_mode;
+
         ExecCommand exec_command[_MOUNT_EXEC_COMMAND_MAX];
         ExecContext exec_context;
 
         MountState state, deserialized_state;
 
-        KillMode kill_mode;
-
         ExecCommand* control_command;
         MountExecCommand control_command_id;
         pid_t control_pid;