Deleted Added
full compact
nfsclstate.h (191783) nfsclstate.h (206688)
1/*-
2 * Copyright (c) 2009 Rick Macklem, University of Guelph
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2009 Rick Macklem, University of Guelph
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/fs/nfs/nfsclstate.h 191783 2009-05-04 15:23:58Z rmacklem $
26 * $FreeBSD: head/sys/fs/nfs/nfsclstate.h 206688 2010-04-15 22:57:30Z rmacklem $
27 */
28
29#ifndef _NFS_NFSCLSTATE_H_
30#define _NFS_NFSCLSTATE_H_
31
32/*
33 * Definitions for NFS V4 client state handling.
34 */

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

135};
136
137/*
138 * Return values for nfscl_open(). NFSCLOPEN_OK must == 0.
139 */
140#define NFSCLOPEN_OK 0
141#define NFSCLOPEN_DOOPEN 1
142#define NFSCLOPEN_DOOPENDOWNGRADE 2
27 */
28
29#ifndef _NFS_NFSCLSTATE_H_
30#define _NFS_NFSCLSTATE_H_
31
32/*
33 * Definitions for NFS V4 client state handling.
34 */

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

135};
136
137/*
138 * Return values for nfscl_open(). NFSCLOPEN_OK must == 0.
139 */
140#define NFSCLOPEN_OK 0
141#define NFSCLOPEN_DOOPEN 1
142#define NFSCLOPEN_DOOPENDOWNGRADE 2
143#define NFSCLOPEN_SETCRED 3
143
144struct nfscllockowner {
145 LIST_ENTRY(nfscllockowner) nfsl_list;
146 struct nfscllockhead nfsl_lock;
147 struct nfsclopen *nfsl_open;
148 NFSPROC_T *nfsl_inprog;
149 nfsv4stateid_t nfsl_stateid;
150 u_int32_t nfsl_seqid;

--- 25 unchanged lines hidden ---
144
145struct nfscllockowner {
146 LIST_ENTRY(nfscllockowner) nfsl_list;
147 struct nfscllockhead nfsl_lock;
148 struct nfsclopen *nfsl_open;
149 NFSPROC_T *nfsl_inprog;
150 nfsv4stateid_t nfsl_stateid;
151 u_int32_t nfsl_seqid;

--- 25 unchanged lines hidden ---