autofs-5.0.6 - fix sss map age not updated
From: Ian Kent <ikent@redhat.com>
The map source age field should be updated when the map is read for
map entry cache cleanup.
---
CHANGELOG | 1 +
modules/lookup_sss.c | 2 ++
2 files changed, 3 insertions(+)
--- autofs-5.0.6.orig/CHANGELOG
+++ autofs-5.0.6/CHANGELOG
@@ -51,6 +51,7 @@
- check if /etc/mtab is a link to /proc/self/mounts.
- fix nfs4 contacts portmap.
- make autofs wait longer for shutdown completion.
+- fix sss map age not updated.
28/06/2011 autofs-5.0.6
-----------------------
--- autofs-5.0.6.orig/modules/lookup_sss.c
+++ autofs-5.0.6/modules/lookup_sss.c
@@ -362,6 +362,8 @@ int lookup_read_map(struct autofs_point
endautomntent(ap->logopt, ctxt, &sss_ctxt);
+ source->age = age;
+
return NSS_STATUS_SUCCESS;
}