move in NFS specific call from vnode.h
[unix-history] / usr / src / sys / kern / kern_time.c
index ae663dc..4dc818c 100644 (file)
@@ -1,10 +1,10 @@
 /*
 /*
- * Copyright (c) 1982, 1986, 1989 Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1982, 1986, 1989, 1993
+ *     The Regents of the University of California.  All rights reserved.
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)kern_time.c 7.20 (Berkeley) %G%
+ *     @(#)kern_time.c 8.2 (Berkeley) %G%
  */
 
 #include <sys/param.h>
  */
 
 #include <sys/param.h>
@@ -85,7 +85,9 @@ settimeofday(p, uap, retval)
                timevalfix(&boottime);
                timevaladd(&runtime, &delta);
                timevalfix(&runtime);
                timevalfix(&boottime);
                timevaladd(&runtime, &delta);
                timevalfix(&runtime);
-               LEASE_UPDATETIME(delta.tv_sec);
+#              ifdef NFS
+                       lease_updatetime(delta.tv_sec);
+#              endif
                splx(s);
                resettodr();
        }
                splx(s);
                resettodr();
        }