summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-02-15 12:11:45 +0000
committerrwatson <rwatson@FreeBSD.org>2008-02-15 12:11:45 +0000
commit860deb0bbc30d2ae9366eba26dec1246196199f6 (patch)
tree957786740c7c77c69b8d578b23cbecc3d82ae1f8 /sys/fs
parentac6e0fc083e9cc7f7d14c0eea72af8a0b59266b0 (diff)
downloadFreeBSD-src-860deb0bbc30d2ae9366eba26dec1246196199f6.zip
FreeBSD-src-860deb0bbc30d2ae9366eba26dec1246196199f6.tar.gz
Spell replys as replies.
MFC after: 1 month
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/coda/cnode.h2
-rw-r--r--sys/fs/coda/coda_psdev.c14
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/fs/coda/cnode.h b/sys/fs/coda/cnode.h
index f2797fc..85a4bec 100644
--- a/sys/fs/coda/cnode.h
+++ b/sys/fs/coda/cnode.h
@@ -131,7 +131,7 @@ struct vcomm {
u_long vc_seq;
struct selinfo vc_selproc;
struct queue vc_requests;
- struct queue vc_replys;
+ struct queue vc_replies;
};
#define VC_OPEN(vcp) ((vcp)->vc_requests.forw != NULL)
diff --git a/sys/fs/coda/coda_psdev.c b/sys/fs/coda/coda_psdev.c
index a133860..ecf9708 100644
--- a/sys/fs/coda/coda_psdev.c
+++ b/sys/fs/coda/coda_psdev.c
@@ -124,7 +124,7 @@ vc_open(struct cdev *dev, int flag, int mode, struct thread *td)
return (EBUSY);
bzero(&(vcp->vc_selproc), sizeof (struct selinfo));
INIT_QUEUE(vcp->vc_requests);
- INIT_QUEUE(vcp->vc_replys);
+ INIT_QUEUE(vcp->vc_replies);
MARK_VC_OPEN(vcp);
mnt->mi_vfsp = NULL;
mnt->mi_rootvp = NULL;
@@ -187,8 +187,8 @@ vc_close(struct cdev *dev, int flag, int mode, struct thread *td)
outstanding_upcalls++;
wakeup(&vmp->vm_sleep);
}
- for (vmp = (struct vmsg *)GETNEXT(vcp->vc_replys);
- !EOQ(vmp, vcp->vc_replys);
+ for (vmp = (struct vmsg *)GETNEXT(vcp->vc_replies);
+ !EOQ(vmp, vcp->vc_replies);
vmp = (struct vmsg *)GETNEXT(vmp->vm_chain)) {
outstanding_upcalls++;
wakeup(&vmp->vm_sleep);
@@ -254,7 +254,7 @@ vc_read(struct cdev *dev, struct uio *uiop, int flag)
return (error);
}
vmp->vm_flags |= VM_READ;
- INSQUE(vmp->vm_chain, vcp->vc_replys);
+ INSQUE(vmp->vm_chain, vcp->vc_replies);
return (error);
}
@@ -305,13 +305,13 @@ vc_write(struct cdev *dev, struct uio *uiop, int flag)
/*
* Look for the message on the (waiting for) reply queue.
*/
- for (vmp = (struct vmsg *)GETNEXT(vcp->vc_replys);
- !EOQ(vmp, vcp->vc_replys);
+ for (vmp = (struct vmsg *)GETNEXT(vcp->vc_replies);
+ !EOQ(vmp, vcp->vc_replies);
vmp = (struct vmsg *)GETNEXT(vmp->vm_chain)) {
if (vmp->vm_unique == seq)
break;
}
- if (EOQ(vmp, vcp->vc_replys)) {
+ if (EOQ(vmp, vcp->vc_replies)) {
if (codadebug)
myprintf(("vcwrite: msg (%ld, %ld) not found\n",
opcode, seq));
OpenPOWER on IntegriCloud