diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-08-31 16:58:02 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-08-31 16:58:02 +0000 |
commit | 4293a14f86218aa4678d1daa11ba94570d796ec6 (patch) | |
tree | 976b261adafff73ede60fac2a1f0f834fc054ffb /sys/nfs/nfs.h | |
parent | ea0a0bfbd6138618e1906c82f71e908a734bf352 (diff) |
remove the #if 0'ed NFS_ATTRTIMEO() macro since it was
replaced by a function long ago..
ok blambert@
Diffstat (limited to 'sys/nfs/nfs.h')
-rw-r--r-- | sys/nfs/nfs.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/nfs/nfs.h b/sys/nfs/nfs.h index 158a9b230e4..ad85bfa84d4 100644 --- a/sys/nfs/nfs.h +++ b/sys/nfs/nfs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs.h,v 1.33 2008/07/05 17:34:26 thib Exp $ */ +/* $OpenBSD: nfs.h,v 1.34 2008/08/31 16:58:01 thib Exp $ */ /* $NetBSD: nfs.h,v 1.10.4.1 1996/05/27 11:23:56 fvdl Exp $ */ /* @@ -121,17 +121,6 @@ #endif /* - * Set the attribute timeout based on how recently the file has been modified. - */ -#if 0 /* replaced by nfs_attrtimeo() in nfs_subs.c */ -#define NFS_ATTRTIMEO(np) \ - ((((np)->n_flag & NMODIFIED) || \ - (time_second - (np)->n_mtime) / 10 < NFS_MINATTRTIMO) ? NFS_MINATTRTIMO : \ - ((time_second - (np)->n_mtime) / 10 > NFS_MAXATTRTIMO ? NFS_MAXATTRTIMO : \ - (time_second - (np)->n_mtime) / 10)) -#endif - -/* * Structures for the nfssvc(2) syscall. Not that anyone but nfsd and mount_nfs * should ever try and use it. */ |