aboutsummaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2013-07-07 01:32:52 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2013-07-07 01:32:52 +0000
commitd66aed2e768679f71acc4fee38335c2597a1fafc (patch)
treedc8f0d73376b0bde8b01c806d2bb45e9b0b8ce1b /sys/fs
parent5f5458322ad805f29adaa35fc1cf8346d5a415b4 (diff)
downloadsrc-d66aed2e768679f71acc4fee38335c2597a1fafc.tar.gz
src-d66aed2e768679f71acc4fee38335c2597a1fafc.zip
Fix some typos.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=252907
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/ext2fs/ext2_htree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/ext2fs/ext2_htree.c b/sys/fs/ext2fs/ext2_htree.c
index ea043cbe7c4f..0b5d9205b61a 100644
--- a/sys/fs/ext2fs/ext2_htree.c
+++ b/sys/fs/ext2fs/ext2_htree.c
@@ -313,7 +313,7 @@ error:
}
/*
- * Try to lookup an directory entry in HTree index
+ * Try to lookup a directory entry in HTree index
*/
int
ext2_htree_lookup(struct inode *ip, const char *name, int namelen,
@@ -458,7 +458,7 @@ ext2_htree_insert_entry(struct ext2fs_htree_lookup_info *info,
}
/*
- * Compare two entry sort descriptiors by name hash value.
+ * Compare two entry sort descriptors by name hash value.
* This is used together with qsort.
*/
static int
@@ -584,7 +584,7 @@ ext2_htree_split_dirblock(char *block1, char *block2, uint32_t blksize,
ep = (struct ext2fs_direct_2 *)(block1 + offset);
offset += ep->e2d_reclen;
if (last->e2d_ino) {
- /* trim the existing slot */
+ /* Trim the existing slot */
last->e2d_reclen = entry_len;
last = (struct ext2fs_direct_2 *)
((char *)last + entry_len);