Blame SOURCES/autofs-5.0.7-fix-inconsistent-use-of-cache-lock-in-handle_packet_missing_direct.patch
|
|
306fa1 |
autofs-5.0.7 - fix inconsistent use of cache lock in handle_packet_missing_direct()
|
|
|
306fa1 |
|
|
|
306fa1 |
From: Ian Kent <raven@themaw.net>
|
|
|
306fa1 |
|
|
|
306fa1 |
All references here except this one refer to the same variable so change the odd
|
|
|
306fa1 |
one out for consistency.
|
|
|
306fa1 |
---
|
|
|
306fa1 |
daemon/direct.c | 2 +-
|
|
|
306fa1 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
306fa1 |
|
|
|
306fa1 |
diff --git a/daemon/direct.c b/daemon/direct.c
|
|
|
306fa1 |
index 228a666..399ad0a 100644
|
|
|
306fa1 |
--- a/daemon/direct.c
|
|
|
306fa1 |
+++ b/daemon/direct.c
|
|
|
306fa1 |
@@ -1392,7 +1392,7 @@ int handle_packet_missing_direct(struct autofs_point *ap, autofs_packet_missing_
|
|
|
306fa1 |
ops->send_fail(ap->logopt,
|
|
|
306fa1 |
ioctlfd, pkt->wait_queue_token, -ENOENT);
|
|
|
306fa1 |
ops->close(ap->logopt, ioctlfd);
|
|
|
306fa1 |
- cache_unlock(me->mc);
|
|
|
306fa1 |
+ cache_unlock(mc);
|
|
|
306fa1 |
master_source_unlock(ap->entry);
|
|
|
306fa1 |
master_mutex_unlock();
|
|
|
306fa1 |
pthread_setcancelstate(state, NULL);
|