Udiff nfs3_vnops.c
--- /webrev/webrev/usr/src/uts/common/fs/nfs/nfs3_vnops.c- Mon Aug 14 13:12:12 2006
+++ nfs3_vnops.c Sun Jul 23 00:43:22 2006
@@ -27,10 +27,23 @@
/*
* Copyright (c) 1983,1984,1985,1986,1987,1988,1989 AT&T.
* All rights reserved.
*/
+ /* Copyright (c) 2006, The Ohio State University. All rights reserved.
+ *
+ * Portions of this source code is developed by the team members of
+ * The Ohio State University's Network-Based Computing Laboratory (NBCL),
+ * headed by Professor Dhabaleswar K. (DK) Panda.
+ *
+ * Acknowledgements to contributions from developors:
+ * Ranjit Noronha: noronha@cse.ohio-state.edu
+ * Lei Chai : chail@cse.ohio-state.edu
+ * Weikuan Yu : yuw@cse.ohio-state.edu
+ *
+ */
+
#pragma ident "@(#)nfs3_vnops.c 1.272 05/10/11 SMI"
#include <sys/param.h>
#include <sys/types.h>
#include <sys/systm.h>
@@ -84,10 +97,11 @@
#include <vm/seg_vn.h>
#include <fs/fs_subr.h>
#include <sys/ddi.h>
+#include <rpc/rpc_rdma.h>
static int nfs3_rdwrlbn(vnode_t *, page_t *, u_offset_t, size_t, int,
cred_t *);
static int nfs3write(vnode_t *, caddr_t, u_offset_t, int, cred_t *,
stable_how *);
@@ -451,10 +465,12 @@
fi.lookupproc = nfs3lookup;
fi.xattrdirproc = acl_getxattrdir3;
res.uiop = uiop;
+ res.wlist = NULL;
+
offset = uiop->uio_loffset;
count = uiop->uio_resid;
do {
if (mi->mi_io_kstats) {
@@ -1044,10 +1060,12 @@
fi.xattrdirproc = acl_getxattrdir3;
res.pov.fres.vp = vp;
res.pov.fres.vap = &va;
+ res.wlist = NULL;
+
*residp = count;
do {
if (mi->mi_io_kstats) {
mutex_enter(&mi->mi_lock);
kstat_runq_enter(KSTAT_IO_PTR(mi->mi_io_kstats));