X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fmount.h;h=7c5d9d1f627063c5c3d8888e2024788065d41aaf;hp=226a1e2f5db5183dee4fbb915738f870b77a0c78;hb=f401e48c2db22ff9d1a05885b5599bebf19c2707;hpb=1e59887dc92e163163051e627817e1675374cd22 diff --git a/src/mount.h b/src/mount.h index 226a1e2f5..7c5d9d1f6 100644 --- a/src/mount.h +++ b/src/mount.h @@ -1,4 +1,4 @@ -/*-*- Mode: C; c-basic-offset: 8 -*-*/ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ #ifndef foomounthfoo #define foomounthfoo @@ -39,7 +39,7 @@ typedef enum MountState { MOUNT_REMOUNTING_SIGKILL, MOUNT_UNMOUNTING_SIGTERM, MOUNT_UNMOUNTING_SIGKILL, - MOUNT_MAINTENANCE, + MOUNT_FAILED, _MOUNT_STATE_MAX, _MOUNT_STATE_INVALID = -1 } MountState; @@ -56,6 +56,7 @@ typedef struct MountParameters { char *what; char *options; char *fstype; + int passno; } MountParameters; struct Mount { @@ -78,6 +79,7 @@ struct Mount { bool just_changed:1; bool failure:1; + bool reload_failure:1; mode_t directory_mode;