Eliminate some bitrot (nonexisting member variable names).

Don't use curproc when a proc pointer is available.
This commit is contained in:
Tor Egge 2000-10-24 23:33:01 +00:00
parent 6d7518c134
commit 5b93d1da3f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67534
2 changed files with 10 additions and 10 deletions

View File

@ -219,15 +219,15 @@ void
bootpboot_p_tree(struct radix_node *rn)
{
while (rn != NULL) {
if (rn->rn_b < 0) {
if (rn->rn_bit < 0) {
if ((rn->rn_flags & RNF_ROOT) != 0) {
} else {
bootpboot_p_rtentry((struct rtentry *) rn);
}
rn = rn->rn_dupedkey;
} else {
bootpboot_p_tree(rn->rn_l);
bootpboot_p_tree(rn->rn_r);
bootpboot_p_tree(rn->rn_left);
bootpboot_p_tree(rn->rn_right);
return;
}
}
@ -1156,7 +1156,7 @@ md_mount(struct sockaddr_in *mdsin, /* mountd server address */
/* Do RPC to mountd. */
error = krpc_call(mdsin, RPCPROG_MNT, RPCMNT_VER3,
RPCMNT_MOUNT, &m, NULL, curproc);
RPCMNT_MOUNT, &m, NULL, procp);
}
if (error == 0) {
args->flags |= NFSMNT_NFSV3;
@ -1174,7 +1174,7 @@ md_mount(struct sockaddr_in *mdsin, /* mountd server address */
/* Do RPC to mountd. */
error = krpc_call(mdsin, RPCPROG_MNT, RPCMNT_VER1,
RPCMNT_MOUNT, &m, NULL, curproc);
RPCMNT_MOUNT, &m, NULL, procp);
if (error != 0)
return error; /* message already freed */

View File

@ -219,15 +219,15 @@ void
bootpboot_p_tree(struct radix_node *rn)
{
while (rn != NULL) {
if (rn->rn_b < 0) {
if (rn->rn_bit < 0) {
if ((rn->rn_flags & RNF_ROOT) != 0) {
} else {
bootpboot_p_rtentry((struct rtentry *) rn);
}
rn = rn->rn_dupedkey;
} else {
bootpboot_p_tree(rn->rn_l);
bootpboot_p_tree(rn->rn_r);
bootpboot_p_tree(rn->rn_left);
bootpboot_p_tree(rn->rn_right);
return;
}
}
@ -1156,7 +1156,7 @@ md_mount(struct sockaddr_in *mdsin, /* mountd server address */
/* Do RPC to mountd. */
error = krpc_call(mdsin, RPCPROG_MNT, RPCMNT_VER3,
RPCMNT_MOUNT, &m, NULL, curproc);
RPCMNT_MOUNT, &m, NULL, procp);
}
if (error == 0) {
args->flags |= NFSMNT_NFSV3;
@ -1174,7 +1174,7 @@ md_mount(struct sockaddr_in *mdsin, /* mountd server address */
/* Do RPC to mountd. */
error = krpc_call(mdsin, RPCPROG_MNT, RPCMNT_VER1,
RPCMNT_MOUNT, &m, NULL, curproc);
RPCMNT_MOUNT, &m, NULL, procp);
if (error != 0)
return error; /* message already freed */