summaryrefslogtreecommitdiff
path: root/src/core/manager.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-22 14:31:58 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-22 14:31:58 +0200
commit85fade1edbc3d6ccf7e0685bbf4790f30d35009e (patch)
tree01a941aae29368f4f0abd73b9548f0eec9bf0da8 /src/core/manager.h
parent29e71235c7b3a1de6b89949e8a623397f4d411df (diff)
parentd379d44255469f03994832ab5821bf1b9034f4dc (diff)
Merge pull request #986 from karelzak/monitor
mount: use libmount to monitor mountinfo & utab
Diffstat (limited to 'src/core/manager.h')
-rw-r--r--src/core/manager.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/manager.h b/src/core/manager.h
index 1384eb33a4..cc0e5e3361 100644
--- a/src/core/manager.h
+++ b/src/core/manager.h
@@ -23,6 +23,7 @@
#include <stdbool.h>
#include <stdio.h>
+#include <libmount.h>
#include "sd-bus.h"
#include "sd-event.h"
@@ -176,10 +177,8 @@ struct Manager {
Hashmap *devices_by_sysfs;
/* Data specific to the mount subsystem */
- FILE *proc_self_mountinfo;
+ struct libmnt_monitor *mount_monitor;
sd_event_source *mount_event_source;
- int utab_inotify_fd;
- sd_event_source *mount_utab_event_source;
/* Data specific to the swap filesystem */
FILE *proc_swaps;