- bug fix for mtab check. - bug fix for zero length nis key. - update for ifc buffer handling. - bug fix for kernel automount handling. - warning: I found a bunch of patches that were present but not being applied.
26 lines
683 B
Diff
26 lines
683 B
Diff
autofs-5.0.3 - check for kernel automount fix
|
|
|
|
From: Ian Kent <raven@themaw.net>
|
|
|
|
Look in the correct mount table for kernel automounted "nohide"
|
|
mounts.
|
|
---
|
|
|
|
daemon/direct.c | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
|
|
diff --git a/daemon/direct.c b/daemon/direct.c
|
|
index afb354e..13f572c 100644
|
|
--- a/daemon/direct.c
|
|
+++ b/daemon/direct.c
|
|
@@ -709,7 +709,7 @@ int mount_autofs_offset(struct autofs_point *ap, struct mapent *me, const char *
|
|
* the kernel NFS client.
|
|
*/
|
|
if (me->multi != me &&
|
|
- is_mounted(_PATH_MOUNTED, mountpoint, MNTS_REAL))
|
|
+ is_mounted(_PROC_MOUNTS, mountpoint, MNTS_REAL))
|
|
return MOUNT_OFFSET_IGNORE;
|
|
|
|
/*
|