X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fmount.h;h=8d8c738b07937cd5786e389fe226802e190292f3;hp=56a7b12b26bce20266f0fca1bdb91ed04f6753de;hb=1b39d4b9d271f2309a193d4e4fae6633248b0e94;hpb=7fab9d01b5940a67ca070754361afb9dfaa520f2 diff --git a/src/mount.h b/src/mount.h index 56a7b12b2..8d8c738b0 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; @@ -99,8 +99,6 @@ extern const UnitVTable mount_vtable; void mount_fd_event(Manager *m, int events); -int mount_path_is_mounted(Manager *m, const char* path); - const char* mount_state_to_string(MountState i); MountState mount_state_from_string(const char *s);