Deleted Added
full compact
nfs_clsubs.c (221429) nfs_clsubs.c (221973)
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

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

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 * from nfs_subs.c 8.8 (Berkeley) 5/22/95
33 */
34
35#include <sys/cdefs.h>
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

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

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 * from nfs_subs.c 8.8 (Berkeley) 5/22/95
33 */
34
35#include <sys/cdefs.h>
36__FBSDID("$FreeBSD: head/sys/fs/nfsclient/nfs_clsubs.c 221429 2011-05-04 11:22:52Z ru $");
36__FBSDID("$FreeBSD: head/sys/fs/nfsclient/nfs_clsubs.c 221973 2011-05-15 20:52:43Z rmacklem $");
37
38/*
39 * These functions support the macros and help fiddle mbuf chains for
40 * the nfs op functions. They do things like create the rpc header and
41 * copy data between mbuf chains and uio lists.
42 */
43
44#include <sys/param.h>

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

169 va_start(ap, fmt);
170 vprintf(fmt, ap);
171 va_end(ap);
172 mtx_unlock(&Giant);
173}
174
175#ifdef NFS_ACDEBUG
176#include <sys/sysctl.h>
37
38/*
39 * These functions support the macros and help fiddle mbuf chains for
40 * the nfs op functions. They do things like create the rpc header and
41 * copy data between mbuf chains and uio lists.
42 */
43
44#include <sys/param.h>

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

169 va_start(ap, fmt);
170 vprintf(fmt, ap);
171 va_end(ap);
172 mtx_unlock(&Giant);
173}
174
175#ifdef NFS_ACDEBUG
176#include <sys/sysctl.h>
177SYSCTL_DECL(_vfs_newnfs);
177SYSCTL_DECL(_vfs_nfs);
178static int nfs_acdebug;
178static int nfs_acdebug;
179SYSCTL_INT(_vfs_newnfs, OID_AUTO, acdebug, CTLFLAG_RW, &nfs_acdebug, 0, "");
179SYSCTL_INT(_vfs_nfs, OID_AUTO, acdebug, CTLFLAG_RW, &nfs_acdebug, 0, "");
180#endif
181
182/*
183 * Check the time stamp
184 * If the cache is valid, copy contents to *vap and return 0
185 * otherwise return an error
186 */
187int

--- 221 unchanged lines hidden ---
180#endif
181
182/*
183 * Check the time stamp
184 * If the cache is valid, copy contents to *vap and return 0
185 * otherwise return an error
186 */
187int

--- 221 unchanged lines hidden ---