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