diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-04-10 10:52:19 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-04-10 10:52:19 +0000 |
commit | fba90f2e037dd422279bc69cd0265942148c0022 (patch) | |
tree | 60ec81c960bc903ee02261b0b6fa507c405c3d75 /sys/kern/kern_time.c | |
parent | a5ecda6fd6358d3ff6a18998f98482335fb6c884 (diff) | |
download | FreeBSD-src-fba90f2e037dd422279bc69cd0265942148c0022.zip FreeBSD-src-fba90f2e037dd422279bc69cd0265942148c0022.tar.gz |
Remove VOP_LEASE and supporting functions. This hasn't been used since
the removal of NQNFS, but was left in in case it was required for NFSv4.
Since our new NFSv4 client and server can't use it for their
requirements, GC the old mechanism, as well as other unused lease-
related code and interfaces.
Due to its impact on kernel programming and binary interfaces, this
change should not be MFC'd.
Proposed by: jeff
Reviewed by: jeff
Discussed with: rmacklem, zach loafman @ isilon
Diffstat (limited to 'sys/kern/kern_time.c')
-rw-r--r-- | sys/kern/kern_time.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c index 99c1a53..3aea2bd 100644 --- a/sys/kern/kern_time.c +++ b/sys/kern/kern_time.c @@ -74,7 +74,6 @@ static uma_zone_t itimer_zone = NULL; static int settime(struct thread *, struct timeval *); static void timevalfix(struct timeval *); -static void no_lease_updatetime(int); static void itimer_start(void); static int itimer_init(void *, int, int); @@ -106,14 +105,6 @@ int itimespecfix(struct timespec *ts); SYSINIT(posix_timer, SI_SUB_P1003_1B, SI_ORDER_FIRST+4, itimer_start, NULL); -static void -no_lease_updatetime(deltat) - int deltat; -{ -} - -void (*lease_updatetime)(int) = no_lease_updatetime; - static int settime(struct thread *td, struct timeval *tv) { @@ -168,9 +159,6 @@ settime(struct thread *td, struct timeval *tv) ts.tv_nsec = tv->tv_usec * 1000; mtx_lock(&Giant); tc_setclock(&ts); - (void) splsoftclock(); - lease_updatetime(delta.tv_sec); - splx(s); resettodr(); mtx_unlock(&Giant); return (0); |