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-fix-null-cache-deadlock.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File autofs-5.0.5-fix-null-cache-deadlock.patch of Package autofs
This might be all we need since once the master map is read the null cache is set up and and can't change while we hold the read lock .... autofs-5.0.5 - fix null cache deadlock From: Ian Kent <ikent@redhat.com> --- daemon/state.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/state.c b/daemon/state.c index 3645440..51809a1 100644 --- a/daemon/state.c +++ b/daemon/state.c @@ -473,11 +473,11 @@ static void *do_readmap(void *arg) mnts = tree_make_mnt_tree(_PROC_MOUNTS, "/"); pthread_cleanup_push(tree_mnts_cleanup, mnts); - pthread_cleanup_push(master_source_lock_cleanup, ap->entry); - master_source_readlock(ap->entry); nc = ap->entry->master->nc; cache_readlock(nc); pthread_cleanup_push(cache_lock_cleanup, nc); + master_source_readlock(ap->entry); + pthread_cleanup_push(master_source_lock_cleanup, ap->entry); map = ap->entry->maps; while (map) { /* Is map source up to date or no longer valid */
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