autofs-5.0.3 - clear stale flag on map read From: Ian Kent We're not properly clearing the map stale flag after a map re-read which causes a re-read after every lookup for master map entries that have the "browse" option set. I removed the line that did this at some point in the past and I must have had a reason to do so. We'll have to wait and see what shows up after fixing it. --- daemon/lookup.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/daemon/lookup.c b/daemon/lookup.c index d33aadc..2277623 100644 --- a/daemon/lookup.c +++ b/daemon/lookup.c @@ -298,6 +298,8 @@ static int do_read_map(struct autofs_point *ap, struct map_source *map, time_t a status = lookup->lookup_read_map(ap, age, lookup->context); + map->stale = 0; + /* * For maps that don't support enumeration return success * and do whatever we must to have autofs function with an