summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfsnode.h
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-12-19 08:58:05 +0000
committerart <art@openbsd.org>2001-12-19 08:58:05 +0000
commit1414b0faee630b2a2d49752ab9b1fe4209fe6bfd (patch)
tree489b0b0b16606f48bda8c6e8ea28957b5601320d /sys/nfs/nfsnode.h
parentbasic KNF done while i was looking for something else (diff)
downloadwireguard-openbsd-1414b0faee630b2a2d49752ab9b1fe4209fe6bfd.tar.xz
wireguard-openbsd-1414b0faee630b2a2d49752ab9b1fe4209fe6bfd.zip
UBC was a disaster. It worked very good when it worked, but on some
machines or some configurations or in some phase of the moon (we actually don't know when or why) files disappeared. Since we've not been able to track down the problem in two weeks intense debugging and we need -current to be stable, back out everything to a state it had before UBC. We apologise for the inconvenience.
Diffstat (limited to 'sys/nfs/nfsnode.h')
-rw-r--r--sys/nfs/nfsnode.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/nfs/nfsnode.h b/sys/nfs/nfsnode.h
index 42aaddfa637..17c02979154 100644
--- a/sys/nfs/nfsnode.h
+++ b/sys/nfs/nfsnode.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfsnode.h,v 1.12 2001/11/27 05:27:12 art Exp $ */
+/* $OpenBSD: nfsnode.h,v 1.13 2001/12/19 08:58:06 art Exp $ */
/* $NetBSD: nfsnode.h,v 1.16 1996/02/18 11:54:04 fvdl Exp $ */
/*
@@ -119,20 +119,8 @@ struct nfsnode {
nfsfh_t n_fh; /* Small File Handle */
struct ucred *n_rcred;
struct ucred *n_wcred;
- off_t n_pushedlo; /* 1st blk in commited range */
- off_t n_pushedhi; /* Last block in range */
- off_t n_pushlo; /* 1st block in commit range */
- off_t n_pushhi; /* Last block in range */
- struct lock n_commitlock; /* Serialize commits XXX */
- int n_commitflags;
};
-/*
- * Values for n_commitflags
- */
-#define NFS_COMMIT_PUSH_VALID 0x0001 /* push range valid */
-#define NFS_COMMIT_PUSHED_VALID 0x0002 /* pushed range valid */
-
#define n_atim n_un1.nf_atim
#define n_mtim n_un2.nf_mtim
#define n_sillyrename n_un3.nf_silly
@@ -211,8 +199,6 @@ int nfs_bwrite __P((void *));
int nfs_vget __P((struct mount *, ino_t, struct vnode **));
#define nfs_reallocblks \
((int (*) __P((void *)))eopnotsupp)
-int nfs_getpages __P((void *));
-int nfs_putpages __P((void *));
/* other stuff */
int nfs_removeit __P((struct sillyrename *));