Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
autofs
autofs-5.0.5-invalid-ghost-dirs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File autofs-5.0.5-invalid-ghost-dirs.patch of Package autofs
From: Leonardo Chiquitto <lchiquitto@novell.com> References: bnc#658734 When ghosting is enabled, don't create mount points for cached entries that don't have a valid mapent. Submitted upstream: http://linux.kernel.org/pipermail/autofs/2010-December/006279.html --- daemon/lookup.c | 3 +++ 1 file changed, 3 insertions(+) Index: autofs-5.0.5/daemon/lookup.c =================================================================== --- autofs-5.0.5.orig/daemon/lookup.c +++ autofs-5.0.5/daemon/lookup.c @@ -604,6 +604,9 @@ int lookup_ghost(struct autofs_point *ap if (!strcmp(me->key, "*")) goto next; + if (!me->mapent) + goto next; + if (*me->key == '/') { /* It's a busy multi-mount - leave till next time */ if (list_empty(&me->multi_list))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor