]>
Commit | Line | Data |
---|---|---|
3d551623 PG |
1 | diff --git a/CHANGELOG b/CHANGELOG |
2 | index aa5d1c1..98d082c 100644 | |
3 | --- a/CHANGELOG | |
4 | +++ b/CHANGELOG | |
5 | @@ -12,6 +12,7 @@ | |
6 | - fix handling of quoted slash alone. | |
7 | - fix parse confusion between attribute and attribute value. | |
8 | - fix version passed to get_supported_ver_and_cost. | |
9 | +- mark map instances stale so they aren't "cleaned" during updates. | |
10 | ||
11 | 18/06/2007 autofs-5.0.2 | |
12 | ----------------------- | |
13 | diff --git a/daemon/lookup.c b/daemon/lookup.c | |
14 | index 70b9e02..4f2b318 100644 | |
15 | --- a/daemon/lookup.c | |
16 | +++ b/daemon/lookup.c | |
17 | @@ -325,6 +325,7 @@ static int read_file_source_instance(struct autofs_point *ap, struct map_source | |
18 | instance->recurse = map->recurse; | |
19 | instance->depth = map->depth; | |
20 | } | |
21 | + instance->stale = map->stale; | |
22 | ||
23 | return do_read_map(ap, instance, age); | |
24 | } | |
25 | @@ -346,6 +347,7 @@ static int read_source_instance(struct autofs_point *ap, struct map_source *map, | |
26 | instance->recurse = map->recurse; | |
27 | instance->depth = map->depth; | |
28 | } | |
29 | + instance->stale = map->stale; | |
30 | ||
31 | return do_read_map(ap, instance, age); | |
32 | } |