From 98f30841f6813133b6a445784b39a7971c1e907b Mon Sep 17 00:00:00 2001 From: Packit Service Date: Apr 16 2021 22:13:54 +0000 Subject: Apply patch autofs-5.1.6-fix-direct-mount-unlink_mount_tree-path.patch patch_name: autofs-5.1.6-fix-direct-mount-unlink_mount_tree-path.patch present_in_specfile: true --- 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 "