autofs-5.1.9 - fix thinko in __mnt_find_submount_by_devid()

From: Ian Kent <raven@themaw.net>

Function __mnt_find_submount_by_devid() calls mnt_find_submount_by_devid()
which leads to an obvious deadlock.

Signed-off-by: Ian Kent <raven@themaw.net>
---
 CHANGELOG    |    1 +
 lib/mounts.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG b/CHANGELOG
index 0ec55ccad..c508285c2 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -108,6 +108,7 @@
 - fix a couple of compile warnings.
 - fix map source deadlock for recursive submounts.
 - fix master_notify_submount() return.
+- fix thinko in __mnt_find_submount_by_devid().
 
 02/11/2023 autofs-5.1.9
 - fix kernel mount status notification.
diff --git a/lib/mounts.c b/lib/mounts.c
index 741dbdf45..6874f185d 100644
--- a/lib/mounts.c
+++ b/lib/mounts.c
@@ -1128,7 +1128,7 @@ static struct autofs_point *__mnt_find_submount_by_devid(struct list_head *submo
 			break;
 		}
 
-		ap = mnt_find_submount_by_devid(&this->ap->submounts, devid);
+		ap = __mnt_find_submount_by_devid(&this->ap->submounts, devid);
 		if (ap)
 			break;
 	}
