diff --git a/CHANGELOG b/CHANGELOG index e384bcf..8d79f6e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -83,6 +83,7 @@ xx/xx/2018 autofs-5.1.5 - fix autofs mount options construction. - mount_nfs.c fix local rdma share not mounting. - fix incorrect systemctl command syntax in autofs(8). +- fix direct mount unlink_mount_tree() path. 19/12/2017 autofs-5.1.4 - fix spec file url. diff --git a/daemon/direct.c b/daemon/direct.c index c494872..410ea98 100644 --- a/daemon/direct.c +++ b/daemon/direct.c @@ -311,7 +311,7 @@ int do_mount_autofs_direct(struct autofs_point *ap, return 0; } - ret = unlink_mount_tree(ap, ap->path); + ret = unlink_mount_tree(ap, me->key); if (!ret) { error(ap->logopt, "already mounted as other than autofs "