summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-05-27 20:50:23 +0000
committerrwatson <rwatson@FreeBSD.org>2007-05-27 20:50:23 +0000
commit79a2e408120d207be00a63c991d92c31c218bfeb (patch)
tree4ad0993af23bf202075ced65c39036f20bdb7a9f /sys/kern
parent77a43d515bcd5757449b87b16f050746afb219d2 (diff)
downloadFreeBSD-src-79a2e408120d207be00a63c991d92c31c218bfeb.zip
FreeBSD-src-79a2e408120d207be00a63c991d92c31c218bfeb.tar.gz
Universally adopt most conventional spelling of acquire.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_mtxpool.c2
-rw-r--r--sys/kern/kern_resource.c2
-rw-r--r--sys/kern/vfs_lookup.c2
-rw-r--r--sys/kern/vfs_subr.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_mtxpool.c b/sys/kern/kern_mtxpool.c
index 58158b9..aab28b6 100644
--- a/sys/kern/kern_mtxpool.c
+++ b/sys/kern/kern_mtxpool.c
@@ -24,7 +24,7 @@
*/
/* Mutex pool routines. These routines are designed to be used as short
- * term leaf mutexes (e.g. the last mutex you might aquire other then
+ * term leaf mutexes (e.g. the last mutex you might acquire other then
* calling msleep()). They operate using a shared pool. A mutex is chosen
* from the pool based on the supplied pointer (which may or may not be
* valid).
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c
index 647cee8..85ebe64 100644
--- a/sys/kern/kern_resource.c
+++ b/sys/kern/kern_resource.c
@@ -1157,7 +1157,7 @@ uihold(uip)
* that we don't need to free, simply unlock and return.
* Suboptimal case:
* If refcount lowering results in need to free, bump the count
- * back up, lose the lock and aquire the locks in the proper
+ * back up, lose the lock and acquire the locks in the proper
* order to try again.
*/
void
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c
index ad801f6..a291a25 100644
--- a/sys/kern/vfs_lookup.c
+++ b/sys/kern/vfs_lookup.c
@@ -795,7 +795,7 @@ bad:
/*
* relookup - lookup a path name component
- * Used by lookup to re-aquire things.
+ * Used by lookup to re-acquire things.
*/
int
relookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp)
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index c65838f..40bdaaa 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -2146,7 +2146,7 @@ vrele(struct vnode *vp)
/*
* Release an already locked vnode. This give the same effects as
* unlock+vrele(), but takes less time and avoids releasing and
- * re-aquiring the lock (as vrele() aquires the lock internally.)
+ * re-aquiring the lock (as vrele() acquires the lock internally.)
*/
void
vput(struct vnode *vp)
OpenPOWER on IntegriCloud