Blame SOURCES/autofs-5.0.7-fix-inconsistent-use-of-cache-lock-in-handle_packet_missing_direct.patch

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