Deleted Added
full compact
nfsnode.h (224604) nfsnode.h (230394)
1/*-
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * @(#)nfsnode.h 8.9 (Berkeley) 5/14/95
1/*-
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * @(#)nfsnode.h 8.9 (Berkeley) 5/14/95
33 * $FreeBSD: head/sys/nfsclient/nfsnode.h 224604 2011-08-02 11:24:42Z rmacklem $
33 * $FreeBSD: head/sys/nfsclient/nfsnode.h 230394 2012-01-20 20:02:01Z jhb $
34 */
35
36#ifndef _NFSCLIENT_NFSNODE_H_
37#define _NFSCLIENT_NFSNODE_H_
38
39#include <sys/_task.h>
40#if !defined(_NFSCLIENT_NFS_H_) && !defined(_KERNEL)
41#include <nfs/nfs.h>

--- 57 unchanged lines hidden (view full) ---

99 struct mtx n_mtx; /* Protects all of these members */
100 u_quad_t n_size; /* Current size of file */
101 u_quad_t n_brev; /* Modify rev when cached */
102 u_quad_t n_lrev; /* Modify rev for lease */
103 struct vattr n_vattr; /* Vnode attribute cache */
104 time_t n_attrstamp; /* Attr. cache timestamp */
105 struct nfs_accesscache n_accesscache[NFS_ACCESSCACHESIZE];
106 struct timespec n_mtime; /* Prev modify time. */
34 */
35
36#ifndef _NFSCLIENT_NFSNODE_H_
37#define _NFSCLIENT_NFSNODE_H_
38
39#include <sys/_task.h>
40#if !defined(_NFSCLIENT_NFS_H_) && !defined(_KERNEL)
41#include <nfs/nfs.h>

--- 57 unchanged lines hidden (view full) ---

99 struct mtx n_mtx; /* Protects all of these members */
100 u_quad_t n_size; /* Current size of file */
101 u_quad_t n_brev; /* Modify rev when cached */
102 u_quad_t n_lrev; /* Modify rev for lease */
103 struct vattr n_vattr; /* Vnode attribute cache */
104 time_t n_attrstamp; /* Attr. cache timestamp */
105 struct nfs_accesscache n_accesscache[NFS_ACCESSCACHESIZE];
106 struct timespec n_mtime; /* Prev modify time. */
107 struct timespec n_ctime; /* Prev create time. */
108 struct timespec n_dmtime; /* Prev dir modify time. */
109 int n_dmtime_ticks; /* Tick of -ve cache entry */
110 nfsfh_t *n_fhp; /* NFS File Handle */
111 struct vnode *n_vnode; /* associated vnode */
112 struct vnode *n_dvp; /* parent vnode */
113 int n_error; /* Save write error value */
114 union {
115 struct timespec nf_atim; /* Special file times */
116 nfsuint64 nd_cookieverf; /* Cookie verifier (dir only) */
117 u_char nd4_cookieverf[NFSX_V4VERF];

--- 98 unchanged lines hidden ---
107 nfsfh_t *n_fhp; /* NFS File Handle */
108 struct vnode *n_vnode; /* associated vnode */
109 struct vnode *n_dvp; /* parent vnode */
110 int n_error; /* Save write error value */
111 union {
112 struct timespec nf_atim; /* Special file times */
113 nfsuint64 nd_cookieverf; /* Cookie verifier (dir only) */
114 u_char nd4_cookieverf[NFSX_V4VERF];

--- 98 unchanged lines hidden ---