diff options
author | Ian Kent <raven@themaw.net> | 2014-02-25 10:59:42 +0800 |
---|---|---|
committer | Ian Kent <ikent@redhat.com> | 2014-03-31 10:39:28 +0800 |
commit | 1d1ac42d1a079288b7e99e0ec66d2552c2fc8024 (patch) | |
tree | b9e2ee65fd344ada476f683e1d4042d33a8f4279 /include | |
parent | a8cefc60dfa15c636dd6a960b15d441f3f006a91 (diff) | |
download | autofs-1d1ac42d1a079288b7e99e0ec66d2552c2fc8024.tar.gz |
autofs-5.0.9 - amd lookup add handling of amd maps in the master map
Diffstat (limited to 'include')
-rw-r--r-- | include/automount.h | 1 | ||||
-rw-r--r-- | include/master.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/automount.h b/include/automount.h index 615efcc1..37133fe4 100644 --- a/include/automount.h +++ b/include/automount.h @@ -510,6 +510,7 @@ struct autofs_point { struct autofs_point *parent; /* Owner of mounts list for submount */ pthread_mutex_t mounts_mutex; /* Protect mount lists */ struct list_head mounts; /* List of autofs mounts at current level */ + struct list_head amdmounts; /* List of non submount amd mounts */ unsigned int submount; /* Is this a submount */ unsigned int shutdown; /* Shutdown notification */ unsigned int submnt_count; /* Number of submounts */ diff --git a/include/master.h b/include/master.h index 8833ddf0..bcc8eeb6 100644 --- a/include/master.h +++ b/include/master.h @@ -104,6 +104,8 @@ void master_source_current_signal(struct master_mapent *); struct master_mapent *master_find_mapent(struct master *, const char *); struct autofs_point *__master_find_submount(struct autofs_point *, const char *); struct autofs_point *master_find_submount(struct autofs_point *, const char *); +struct amd_entry *__master_find_amdmount(struct autofs_point *, const char *); +struct amd_entry *master_find_amdmount(struct autofs_point *, const char *); struct master_mapent *master_new_mapent(struct master *, const char *, time_t); void master_add_mapent(struct master *, struct master_mapent *); void master_remove_mapent(struct master_mapent *); |