Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 930281 Details for
Bug 1094661
autofs can ghost non-existent map entries given the right timing
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch: fix negative status being reset on map read
autofs-5.0.8-fix-negative-status-being-reset-on-map-read.patch (text/plain), 1.27 KB, created by
Ian Kent
on 2014-08-25 03:19:51 UTC
(
hide
)
Description:
Patch: fix negative status being reset on map read
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2014-08-25 03:19:51 UTC
Size:
1.27 KB
patch
obsolete
>autofs-5.0.8 - fix negative status being reset on map read > >From: Ian Kent <raven@themaw.net> > >The map entry status field, which holds the negative cache timeout, >gets reset on a map re-read. > >If the negative map entry was added at the same time as the map >read and it was for an entry that was never in the map, the >status gets reset even though the entry is still a valid >negative entry. > >Consequently lookups for non-existent map entries are never >seen as negative and the lookup always continues. >--- > CHANGELOG | 1 + > daemon/lookup.c | 3 ++- > 2 files changed, 3 insertions(+), 1 deletion(-) > >--- autofs-5.0.7.orig/CHANGELOG >+++ autofs-5.0.7/CHANGELOG >@@ -70,6 +70,7 @@ > - get_nfs_info() should query portmapper if port is not given. > - fix rpc_portmap_getport() proto not set. > - fix protmap not trying proto v2. >+- fix negative status being reset on map read. > > 25/07/2012 autofs-5.0.7 > ======================= >--- autofs-5.0.7.orig/daemon/lookup.c >+++ autofs-5.0.7/daemon/lookup.c >@@ -1042,7 +1042,8 @@ void lookup_prune_one_cache(struct autof > * Reset time of last fail for valid map entries to > * force entry update and subsequent mount retry. > */ >- me->status = 0; >+ if (me->mapent) >+ me->status = 0; > me = cache_enumerate(mc, me); > continue; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1094661
: 930281 |
930282
|
930283