- add command line option to override is running check. - don't use proc fs for is running check. - fix fail on included browse map not found. - fix incorrect multi source messages. - clear stale flag on map read. - fix proximity other rpc ping timeout. - refactor mount request vars code. - make handle_mounts startup condition distinct. - fix submount shutdown handling. - try not to block on expire. - add configuration paramter UMOUNT_WAIT. - fix multi mount race. - fix nfs4 colon escape handling. - check replicated list after probe. - add replicated server selection debug logging. - update replicated server selection documentation. - use /dev/urandom instead of /dev/random. - check for mtab pointing to /proc/mounts. - fix interface config buffer size. - fix percent hack heap corruption.
30 lines
921 B
Diff
30 lines
921 B
Diff
autofs-5.0.3 - clear stale flag on map read
|
|
|
|
From: Ian Kent <raven@themaw.net>
|
|
|
|
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
|