diff --git a/CHANGELOG b/CHANGELOG index 1bf9f10..16b63c8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -75,6 +75,7 @@ xx/xx/2018 autofs-5.1.5 - use local_getmntent_r() for unlink_mount_tree(). - use local getmntent_r() in get_mnt_list(). - use local getmntent_r() in tree_make_mnt_list(). +- fix missing initialization of autofs_point flags. 19/12/2017 autofs-5.1.4 - fix spec file url. diff --git a/lib/master.c b/lib/master.c index ea9039f..55a6b01 100644 --- a/lib/master.c +++ b/lib/master.c @@ -101,6 +101,8 @@ int master_add_autofs_point(struct master_mapent *entry, unsigned logopt, ap->negative_timeout = global_negative_timeout; ap->exp_timeout = defaults_get_timeout(); ap->exp_runfreq = 0; + ap->flags = 0; + if (defaults_get_use_ignore_mount_option()) ap->flags = MOUNT_FLAG_IGNORE; if (ghost)