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

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