summaryrefslogtreecommitdiffstats
path: root/sys/fs/ext2fs
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-07-07 01:32:52 +0000
committerpfg <pfg@FreeBSD.org>2013-07-07 01:32:52 +0000
commit512e5343cf6f5fa545734a03e0943f4d7ada4d57 (patch)
treedc8f0d73376b0bde8b01c806d2bb45e9b0b8ce1b /sys/fs/ext2fs
parentcf66d7fd0297da9758c1b8df8059351cd89fbb60 (diff)
downloadFreeBSD-src-512e5343cf6f5fa545734a03e0943f4d7ada4d57.zip
FreeBSD-src-512e5343cf6f5fa545734a03e0943f4d7ada4d57.tar.gz
Fix some typos.
MFC after: 1 week
Diffstat (limited to 'sys/fs/ext2fs')
-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 ea043cb..0b5d920 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);
OpenPOWER on IntegriCloud