diff options
Diffstat (limited to 'sys/fs/nandfs')
-rw-r--r-- | sys/fs/nandfs/nandfs_fs.h | 2 | ||||
-rw-r--r-- | sys/fs/nandfs/nandfs_subr.h | 2 | ||||
-rw-r--r-- | sys/fs/nandfs/nandfs_sufile.c | 2 | ||||
-rw-r--r-- | sys/fs/nandfs/nandfs_vnops.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/sys/fs/nandfs/nandfs_fs.h b/sys/fs/nandfs/nandfs_fs.h index b72be40..a0d060d 100644 --- a/sys/fs/nandfs/nandfs_fs.h +++ b/sys/fs/nandfs/nandfs_fs.h @@ -343,7 +343,7 @@ struct nandfs_segment_summary { /* * Structure of DAT/inode file. * - * A DAT file is devided into groups. The maximum number of groups is the + * A DAT file is divided into groups. The maximum number of groups is the * number of block group descriptors that fit into one block; this descriptor * only gives the number of free entries in the associated group. * diff --git a/sys/fs/nandfs/nandfs_subr.h b/sys/fs/nandfs/nandfs_subr.h index 0bcda18..c3fb8f1 100644 --- a/sys/fs/nandfs/nandfs_subr.h +++ b/sys/fs/nandfs/nandfs_subr.h @@ -114,7 +114,7 @@ int nandfs_free_entry(struct nandfs_mdt *, struct nandfs_alloc_request *); int nandfs_get_entry_block(struct nandfs_mdt *, struct nandfs_node *, struct nandfs_alloc_request *, uint32_t *, int); -/* inode managment */ +/* Inode management. */ int nandfs_node_create(struct nandfsmount *, struct nandfs_node **, uint16_t); int nandfs_node_destroy(struct nandfs_node *); int nandfs_node_update(struct nandfs_node *); diff --git a/sys/fs/nandfs/nandfs_sufile.c b/sys/fs/nandfs/nandfs_sufile.c index d4f4326..b1af84e 100644 --- a/sys/fs/nandfs/nandfs_sufile.c +++ b/sys/fs/nandfs/nandfs_sufile.c @@ -137,7 +137,7 @@ nandfs_alloc_segment(struct nandfs_device *fsdev, uint64_t *seg) rest = (fsdev->nd_blocksize - offset) / seg_size; /* Go through all su usage in block */ while (rest) { - /* When last check start from beggining */ + /* When last check start from beginning */ if (i == nsegments) break; diff --git a/sys/fs/nandfs/nandfs_vnops.c b/sys/fs/nandfs/nandfs_vnops.c index 40dd855..e94c6ff 100644 --- a/sys/fs/nandfs/nandfs_vnops.c +++ b/sys/fs/nandfs/nandfs_vnops.c @@ -1251,12 +1251,12 @@ nandfs_readdir(struct vop_readdir_args *ap) diroffset += ndirent->rec_len; blkoff += ndirent->rec_len; - /* Remember the last entry we transfered */ + /* Remember the last entry we transferred */ transoffset = diroffset; } brelse(bp); - /* Pass on last transfered offset */ + /* Pass on last transferred offset */ uio->uio_offset = transoffset; } |