summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ufs
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-04-29 20:43:51 +0000
committerpfg <pfg@FreeBSD.org>2016-04-29 20:43:51 +0000
commit6ac8bdb320dbcddf02869d4083d82202120b0e16 (patch)
treec9f8b7d53000d7bc7caadc9a09947c76e77f16cc /sys/ufs/ufs
parent16e2c861e1e1918f344e92841e82dbbf29656592 (diff)
downloadFreeBSD-src-6ac8bdb320dbcddf02869d4083d82202120b0e16.zip
FreeBSD-src-6ac8bdb320dbcddf02869d4083d82202120b0e16.tar.gz
UFS: spelling fixes on comments.
No functional change.
Diffstat (limited to 'sys/ufs/ufs')
-rw-r--r--sys/ufs/ufs/dirhash.h2
-rw-r--r--sys/ufs/ufs/ufs_acl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ufs/dirhash.h b/sys/ufs/ufs/dirhash.h
index 4a53249..cd709c0 100644
--- a/sys/ufs/ufs/dirhash.h
+++ b/sys/ufs/ufs/dirhash.h
@@ -60,7 +60,7 @@
* together on a TAILQ list, and hashes with higher scores filter
* towards the tail (most recently used) end of the list.
*
- * New hash entries are given an inital score of DH_SCOREINIT and are
+ * New hash entries are given an initial score of DH_SCOREINIT and are
* placed at the most-recently-used end of the list. This helps a lot
* in the worst-case case scenario where every directory access is
* to a directory that is not hashed (i.e. the working set of hash
diff --git a/sys/ufs/ufs/ufs_acl.c b/sys/ufs/ufs/ufs_acl.c
index 47f0434..836b2c0 100644
--- a/sys/ufs/ufs/ufs_acl.c
+++ b/sys/ufs/ufs/ufs_acl.c
@@ -220,7 +220,7 @@ ufs_getacl_nfs4(struct vop_getacl_args *ap)
/*
* Read POSIX.1e ACL from an EA. Return error if its not found
- * or if any other error has occured.
+ * or if any other error has occurred.
*/
static int
ufs_get_oldacl(acl_type_t type, struct oldacl *old, struct vnode *vp,
OpenPOWER on IntegriCloud