summaryrefslogtreecommitdiffstats
path: root/sys/nfs
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>1999-12-19 01:55:37 +0000
committergreen <green@FreeBSD.org>1999-12-19 01:55:37 +0000
commit99a0254a52c686a564d742d546a4d41be85e07b3 (patch)
treeab7557ed3b90f76b30c22c586f0a34eb02746ce4 /sys/nfs
parent2de76d5ad3b32aa38eccccd666224ab17c58ff72 (diff)
downloadFreeBSD-src-99a0254a52c686a564d742d546a4d41be85e07b3.zip
FreeBSD-src-99a0254a52c686a564d742d546a4d41be85e07b3.tar.gz
M_PREPEND-related cleanups (unregisterifying struct mbuf *s).
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_nqlease.c6
-rw-r--r--sys/nfs/nfs_socket.c4
-rw-r--r--sys/nfs/nfs_syscalls.c3
3 files changed, 5 insertions, 8 deletions
diff --git a/sys/nfs/nfs_nqlease.c b/sys/nfs/nfs_nqlease.c
index be90100..ccaa848 100644
--- a/sys/nfs/nfs_nqlease.c
+++ b/sys/nfs/nfs_nqlease.c
@@ -503,10 +503,9 @@ nqsrv_send_eviction(vp, lp, slp, nam, cred)
struct ucred *cred;
{
register struct nqhost *lph = &lp->lc_host;
- register struct mbuf *m;
register int siz;
struct nqm *lphnext = lp->lc_morehosts;
- struct mbuf *mreq, *mb, *mb2, *mheadend;
+ struct mbuf *m, *mreq, *mb, *mb2, *mheadend;
struct socket *so;
struct sockaddr *nam2;
struct sockaddr_in *saddr;
@@ -926,14 +925,13 @@ nqnfs_vacated(vp, cred)
struct ucred *cred;
{
register caddr_t cp;
- register struct mbuf *m;
register int i;
register u_int32_t *tl;
register int32_t t2;
caddr_t bpos;
u_int32_t xid;
int error = 0;
- struct mbuf *mreq, *mb, *mb2, *mheadend;
+ struct mbuf *m, *mreq, *mb, *mb2, *mheadend;
struct nfsmount *nmp;
struct nfsreq myrep;
diff --git a/sys/nfs/nfs_socket.c b/sys/nfs/nfs_socket.c
index 0bf85c0..41fd303 100644
--- a/sys/nfs/nfs_socket.c
+++ b/sys/nfs/nfs_socket.c
@@ -932,12 +932,12 @@ nfs_request(vp, mrest, procnum, procp, cred, mrp, mdp, dposp)
struct mbuf **mdp;
caddr_t *dposp;
{
- register struct mbuf *m, *mrep, *m2;
+ register struct mbuf *mrep, *m2;
register struct nfsreq *rep;
register u_int32_t *tl;
register int i;
struct nfsmount *nmp;
- struct mbuf *md, *mheadend;
+ struct mbuf *m, *md, *mheadend;
struct nfsnode *np;
char nickv[RPCX_NICKVERF];
time_t reqtime, waituntil;
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c
index 7519e68..da18842 100644
--- a/sys/nfs/nfs_syscalls.c
+++ b/sys/nfs/nfs_syscalls.c
@@ -427,12 +427,11 @@ nfssvc_nfsd(nsd, argp, p)
caddr_t argp;
struct proc *p;
{
- register struct mbuf *m;
register int siz;
register struct nfssvc_sock *slp;
struct nfsd *nfsd = nsd->nsd_nfsd;
struct nfsrv_descript *nd = NULL;
- struct mbuf *mreq;
+ struct mbuf *m, *mreq;
int error = 0, cacherep, s, sotype, writes_todo;
int procrastinate;
u_quad_t cur_usec;
OpenPOWER on IntegriCloud