summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_var.h
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2007-12-13 18:32:56 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2007-12-13 18:32:56 +0000
commitfd41d40029b4b6318c4f7ed90f9d2251ab04bc22 (patch)
treef806d9c3632e0c92ee75a114ae6b2b731f83de8e /sys/nfs/nfs_var.h
parent8b1f655711238b3be5f4adbb79082fd84dfe7da8 (diff)
convert massive (expanded to 150+ lines) nfsm_v3attr macro to a function
shaves an insane (~8K) amount from an i386 kernel ok thib@
Diffstat (limited to 'sys/nfs/nfs_var.h')
-rw-r--r--sys/nfs/nfs_var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nfs/nfs_var.h b/sys/nfs/nfs_var.h
index 14adc66a120..f4e03432923 100644
--- a/sys/nfs/nfs_var.h
+++ b/sys/nfs/nfs_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_var.h,v 1.31 2007/10/28 14:12:41 thib Exp $ */
+/* $OpenBSD: nfs_var.h,v 1.32 2007/12/13 18:32:55 blambert Exp $ */
/* $NetBSD: nfs_var.h,v 1.3 1996/02/18 11:53:54 fvdl Exp $ */
/*
@@ -252,6 +252,7 @@ int nfs_getattrcache(struct vnode *, struct vattr *);
int nfs_namei(struct nameidata *, fhandle_t *, int, struct nfssvc_sock *,
struct mbuf *, struct mbuf **, caddr_t *, struct vnode **,
struct proc *, int);
+void nfsm_v3attrbuild(struct mbuf **, struct vattr *, int, caddr_t *);
void nfsm_adj(struct mbuf *, int, int);
void nfsm_srvwcc(struct nfsrv_descript *, int, struct vattr *, int,
struct vattr *, struct mbuf **, char **);