Deleted Added
full compact
nfsnode.h (224606) 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

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

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
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 *
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

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

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
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 * $FreeBSD: head/sys/fs/nfsclient/nfsnode.h 224606 2011-08-02 11:28:42Z rmacklem $
32 * $FreeBSD: head/sys/fs/nfsclient/nfsnode.h 230394 2012-01-20 20:02:01Z jhb $
33 */
34
35#ifndef _NFSCLIENT_NFSNODE_H_
36#define _NFSCLIENT_NFSNODE_H_
37
38#include <sys/_task.h>
39
40/*

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

94 struct mtx n_mtx; /* Protects all of these members */
95 u_quad_t n_size; /* Current size of file */
96 u_quad_t n_brev; /* Modify rev when cached */
97 u_quad_t n_lrev; /* Modify rev for lease */
98 struct nfsvattr n_vattr; /* Vnode attribute cache */
99 time_t n_attrstamp; /* Attr. cache timestamp */
100 struct nfs_accesscache n_accesscache[NFS_ACCESSCACHESIZE];
101 struct timespec n_mtime; /* Prev modify time. */
33 */
34
35#ifndef _NFSCLIENT_NFSNODE_H_
36#define _NFSCLIENT_NFSNODE_H_
37
38#include <sys/_task.h>
39
40/*

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

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

--- 81 unchanged lines hidden ---
102 struct nfsfh *n_fhp; /* NFS File Handle */
103 struct vnode *n_vnode; /* associated vnode */
104 struct vnode *n_dvp; /* parent vnode */
105 struct lockf *n_lockf; /* Locking record of file */
106 int n_error; /* Save write error value */
107 union {
108 struct timespec nf_atim; /* Special file times */
109 nfsuint64 nd_cookieverf; /* Cookie verifier (dir only) */

--- 81 unchanged lines hidden ---