diff --git a/CHANGELOG b/CHANGELOG index aa5d1c1..98d082c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -12,6 +12,7 @@ - fix handling of quoted slash alone. - fix parse confusion between attribute and attribute value. - fix version passed to get_supported_ver_and_cost. +- mark map instances stale so they aren't "cleaned" during updates. 18/06/2007 autofs-5.0.2 ----------------------- diff --git a/daemon/lookup.c b/daemon/lookup.c index 70b9e02..4f2b318 100644 --- a/daemon/lookup.c +++ b/daemon/lookup.c @@ -325,6 +325,7 @@ static int read_file_source_instance(struct autofs_point *ap, struct map_source instance->recurse = map->recurse; instance->depth = map->depth; } + instance->stale = map->stale; return do_read_map(ap, instance, age); } @@ -346,6 +347,7 @@ static int read_source_instance(struct autofs_point *ap, struct map_source *map, instance->recurse = map->recurse; instance->depth = map->depth; } + instance->stale = map->stale; return do_read_map(ap, instance, age); }