summaryrefslogtreecommitdiff
path: root/sys/fs/nfsserver/nfs_nfsdport.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/nfsserver/nfs_nfsdport.c')
-rw-r--r--sys/fs/nfsserver/nfs_nfsdport.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/fs/nfsserver/nfs_nfsdport.c b/sys/fs/nfsserver/nfs_nfsdport.c
index 07035f2834864..e867ecc350b4a 100644
--- a/sys/fs/nfsserver/nfs_nfsdport.c
+++ b/sys/fs/nfsserver/nfs_nfsdport.c
@@ -210,7 +210,6 @@ static struct nfsheur {
int nh_seqcount; /* heuristic */
} nfsheur[NUM_HEURISTIC];
-
/*
* Heuristic to detect sequential operation.
*/
@@ -1053,7 +1052,6 @@ nfsvno_write(struct vnode *vp, off_t off, int retlen, int *stable,
return (error);
}
-
if (*stable == NFSWRITE_UNSTABLE)
ioflags = IO_NODELOCKED;
else
@@ -2510,7 +2508,7 @@ again:
bpos1 = nd->nd_bpos;
bextpg1 = nd->nd_bextpg;
bextpgsiz1 = nd->nd_bextpgsiz;
-
+
/*
* For readdir_and_lookup get the vnode using
* the file number.
@@ -5157,7 +5155,7 @@ nfsrv_readdsrpc(fhandle_t *fhp, off_t off, int len, struct ucred *cred,
error = ENOENT;
goto nfsmout;
}
-
+
/*
* Now, adjust first mbuf so that any XDR before the
* read data is skipped over.
@@ -5167,7 +5165,7 @@ nfsrv_readdsrpc(fhandle_t *fhp, off_t off, int len, struct ucred *cred,
m->m_len -= trimlen;
NFSM_DATAP(m, trimlen);
}
-
+
/*
* Truncate the mbuf chain at retlen bytes of data,
* plus XDR padding that brings the length up to a
@@ -5927,7 +5925,7 @@ nfsrv_getattrdsrpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p,
struct nfsrv_descript *nd;
int error;
nfsattrbit_t attrbits;
-
+
NFSD_DEBUG(4, "in nfsrv_getattrdsrpc\n");
nd = malloc(sizeof(*nd), M_TEMP, M_WAITOK | M_ZERO);
nfscl_reqstart(nd, NFSPROC_GETATTR, nmp, (u_int8_t *)fhp,
@@ -5985,7 +5983,7 @@ nfsrv_seekdsrpc(fhandle_t *fhp, off_t *offp, int content, bool *eofp,
struct nfsrv_descript *nd;
nfsv4stateid_t st;
int error;
-
+
NFSD_DEBUG(4, "in nfsrv_seekdsrpc\n");
/*
* Use a stateid where other is an alternating 01010 pattern and
@@ -6712,4 +6710,3 @@ MODULE_DEPEND(nfsd, nfscommon, 1, 1, 1);
MODULE_DEPEND(nfsd, nfslockd, 1, 1, 1);
MODULE_DEPEND(nfsd, krpc, 1, 1, 1);
MODULE_DEPEND(nfsd, nfssvc, 1, 1, 1);
-