* conf/autofs/autofs_linux.c: compile fixes for autofs v3
authorIon Badulescu <ib42@cs.columbia.edu>
Mon, 24 Jun 2002 03:51:25 +0000 (03:51 +0000)
committerIon Badulescu <ib42@cs.columbia.edu>
Mon, 24 Jun 2002 03:51:25 +0000 (03:51 +0000)
ChangeLog
conf/autofs/autofs_linux.c

index 2ca817effe23f6026143e74d2eb649f560f4a177..1a493c3eef8f823cdfc5b483657bfc15fc911c25 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-23  Ion Badulescu  <ionut@moisil.badula.org>
+
+       * conf/autofs/autofs_linux.c: compile fixes for autofs v3
+
 2002-06-23  Ion Badulescu  <ionut@moisil.badula.org>
 
        * conf/autofs/autofs_solaris_v2_v3.c (autofs_mounted): no
index 1d68fd4241179457e81142ccf2d69571edde7054..42b50d3f2d11cd63d29df4684330833b1da2820d 100644 (file)
@@ -38,7 +38,7 @@
  * SUCH DAMAGE.
  *
  *
- * $Id: autofs_linux.c,v 1.27 2002/06/24 03:05:15 ib42 Exp $
+ * $Id: autofs_linux.c,v 1.28 2002/06/24 03:51:26 ib42 Exp $
  *
  */
 
@@ -665,6 +665,7 @@ autofs_compute_mount_flags(mntent_t *mnt)
 }
 
 
+#ifdef autofs_ptype_expire_multi
 static int autofs_timeout_mp_task(void *arg)
 {
   am_node *mp = (am_node *)arg;
@@ -674,6 +675,7 @@ static int autofs_timeout_mp_task(void *arg)
   while (ioctl(fh->ioctlfd, AUTOFS_IOC_EXPIRE_MULTI, &now) == 0);
   return 0;
 }
+#endif /* autofs_ptype_expire_multi */
 
 
 void autofs_timeout_mp(am_node *mp)
@@ -692,5 +694,7 @@ void autofs_timeout_mp(am_node *mp)
     return;
   }
 
+#ifdef autofs_ptype_expire_multi
   run_task(autofs_timeout_mp_task, mp, NULL, NULL);
+#endif /* autofs_ptype_expire_multi */
 }