autofs-5.1.9 - fix clear numeric fields in clear_amd_entry()

From: Ian Kent <raven@themaw.net>

Add initialisation of numeric variables in clear_amd_entry().

Fixes: 6cbb6e9a3b8b ("autofs-5.1.9 - add some unimplemented amd map options")
Fixes: a2002247e16e ("autofs-5.1.9 - seperate amd mount and entry flags")
Signed-off-by: Ian Kent <raven@themaw.net>
---
 lib/mounts.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/mounts.c b/lib/mounts.c
index 8905cedb8..6dc7c74b2 100644
--- a/lib/mounts.c
+++ b/lib/mounts.c
@@ -643,6 +643,10 @@ void clear_amd_entry(struct amd_entry *entry)
 {
 	if (!entry)
 		return;
+	entry->flags = 0;
+	entry->utimeout = -1;
+	entry->cache_opts = 0;
+	entry->entry_flags = 0;
 	if (entry->path) {
 		free(entry->path);
 		entry->path = NULL;
