X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fautomount.h;h=c6326ed3c23d99cd197d6bb2ff722c669ad74e70;hb=4ff77f66af8bd3e7e403c81febb7a2471457c5da;hp=44e6100ff691c8ec2a8313f70f2608b5447c5c9f;hpb=18c78fb1af5415bb6f87d9c7cae1f9c60e14ae24;p=elogind.git diff --git a/src/automount.h b/src/automount.h index 44e6100ff..c6326ed3c 100644 --- a/src/automount.h +++ b/src/automount.h @@ -1,4 +1,4 @@ -/*-*- Mode: C; c-basic-offset: 8 -*-*/ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ #ifndef fooautomounthfoo #define fooautomounthfoo @@ -30,7 +30,7 @@ typedef enum AutomountState { AUTOMOUNT_DEAD, AUTOMOUNT_WAITING, AUTOMOUNT_RUNNING, - AUTOMOUNT_MAINTENANCE, + AUTOMOUNT_FAILED, _AUTOMOUNT_STATE_MAX, _AUTOMOUNT_STATE_INVALID = -1 } AutomountState; @@ -42,9 +42,10 @@ struct Automount { char *where; - Mount *mount; + UnitRef mount; int pipe_fd; + mode_t directory_mode; Watch pipe_watch; dev_t dev_id;