diff options
author | 2007-10-28 14:03:47 +0000 | |
---|---|---|
committer | 2007-10-28 14:03:47 +0000 | |
commit | af851ec794cdde0ad1cefc0bffbb546192b58680 (patch) | |
tree | 0f297a4c2bdabd5a3badea09bac038c432c85790 | |
parent | add new envy(4) driver for ICE1712 (aka VIA Envy24) audio devices. The (diff) | |
download | wireguard-openbsd-af851ec794cdde0ad1cefc0bffbb546192b58680.tar.xz wireguard-openbsd-af851ec794cdde0ad1cefc0bffbb546192b58680.zip |
remove some unused members of struct nfsnode;
some spacing while there.
ok krw@
-rw-r--r-- | sys/nfs/nfsnode.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sys/nfs/nfsnode.h b/sys/nfs/nfsnode.h index 1fc70bb288f..f3e6bb3fdd5 100644 --- a/sys/nfs/nfsnode.h +++ b/sys/nfs/nfsnode.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsnode.h,v 1.27 2007/09/20 12:54:31 thib Exp $ */ +/* $OpenBSD: nfsnode.h,v 1.28 2007/10/28 14:03:47 thib Exp $ */ /* $NetBSD: nfsnode.h,v 1.16 1996/02/18 11:54:04 fvdl Exp $ */ /* @@ -88,13 +88,10 @@ struct nfsdmap { struct nfsnode { LIST_ENTRY(nfsnode) n_hash; /* Hash chain */ u_quad_t n_size; /* Current size of file */ - u_quad_t n_brev; /* Modify rev when cached */ - u_quad_t n_lrev; /* Modify rev for lease */ struct vattr n_vattr; /* Vnode attribute cache */ time_t n_attrstamp; /* Attr. cache timestamp */ time_t n_mtime; /* Prev modify time. */ time_t n_ctime; /* Prev create time. */ - time_t n_expiry; /* Lease expiry time */ nfsfh_t *n_fhp; /* NFS File Handle */ struct vnode *n_vnode; /* associated vnode */ struct lockf *n_lockf; /* Locking record of file */ @@ -117,12 +114,12 @@ struct nfsnode { 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 rwlock n_commitlock; /* Serialize commits */ - int n_commitflags; + 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 rwlock n_commitlock; /* Serialize commits */ + int n_commitflags; }; /* |