This is caused by amd's top-level mounts which are mounted by default
with NLM locks enabled (lock mount option).  Locks are not required
for the top-level mounts.  The attached patch passes "nolock" to
top-level mount requests.

The attached patch fixes the problem.

Phil.
diff -ruN am-utils-6.1.5.orig/amd/amfs_toplvl.c am-utils-6.1.5/amd/amfs_toplvl.c
--- am-utils-6.1.5.orig/amd/amfs_toplvl.c	2006-03-28 08:16:43.000000000 -0800
+++ am-utils-6.1.5/amd/amfs_toplvl.c	2008-06-10 11:40:32.000000000 -0700
@@ -226,6 +226,10 @@
 		MNTTAB_OPT_RETRANS, gopt.amfs_auto_retrans[AMU_TYPE_TOPLVL]);
       xstrlcat(opts, toplvl_opts, sizeof(opts));
     }
+#ifdef MNTTAB_OPT_NOLOCK
+    xstrlcat(opts, ",", sizeof(opts));
+    xstrlcat(opts, MNTTAB_OPT_NOLOCK, sizeof(opts));
+#endif /* MNTTAB_OPT_NOLOCK */
 
 #ifdef MNTTAB_OPT_NOAC
     if (gopt.auto_attrcache == 0) {

Reply via email to