diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-08-27 09:40:19 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-08-27 09:40:19 -0600 |
commit | e84937a34489eab1669338bf8e3bb6c07e9d7295 (patch) | |
tree | 5fcaae860d74eeaf009b81a51292b3fe6c9865fd /nuttx/fs/nxffs | |
parent | f760141ba6b1536afc27451db9dd90d7a207ae5f (diff) | |
download | px4-nuttx-e84937a34489eab1669338bf8e3bb6c07e9d7295.tar.gz px4-nuttx-e84937a34489eab1669338bf8e3bb6c07e9d7295.tar.bz2 px4-nuttx-e84937a34489eab1669338bf8e3bb6c07e9d7295.zip |
Fix all occurrences of "the the" in documentation and comments
Diffstat (limited to 'nuttx/fs/nxffs')
-rw-r--r-- | nuttx/fs/nxffs/nxffs.h | 2 | ||||
-rw-r--r-- | nuttx/fs/nxffs/nxffs_block.c | 4 | ||||
-rw-r--r-- | nuttx/fs/nxffs/nxffs_cache.c | 2 | ||||
-rw-r--r-- | nuttx/fs/nxffs/nxffs_pack.c | 10 | ||||
-rw-r--r-- | nuttx/fs/nxffs/nxffs_read.c | 4 | ||||
-rw-r--r-- | nuttx/fs/nxffs/nxffs_unlink.c | 2 | ||||
-rw-r--r-- | nuttx/fs/nxffs/nxffs_write.c | 2 |
7 files changed, 13 insertions, 13 deletions
diff --git a/nuttx/fs/nxffs/nxffs.h b/nuttx/fs/nxffs/nxffs.h index 80e34939c..b2ac44b9c 100644 --- a/nuttx/fs/nxffs/nxffs.h +++ b/nuttx/fs/nxffs/nxffs.h @@ -670,7 +670,7 @@ extern off_t nxffs_inodeend(FAR struct nxffs_volume_s *volume, * Name: nxffs_verifyblock * * Description: - * Assure the the provided (logical) block number is in the block cache + * Assure that the provided (logical) block number is in the block cache * and that it has a valid block header (i.e., proper magic and * marked good) * diff --git a/nuttx/fs/nxffs/nxffs_block.c b/nuttx/fs/nxffs/nxffs_block.c index 6701b6e6b..a0f76766a 100644 --- a/nuttx/fs/nxffs/nxffs_block.c +++ b/nuttx/fs/nxffs/nxffs_block.c @@ -74,7 +74,7 @@ * Name: nxffs_verifyblock * * Description: - * Assure the the provided (logical) block number is in the block cache + * Assure that the provided (logical) block number is in the block cache * and that it has a valid block header (i.e., proper magic and * marked good) * @@ -94,7 +94,7 @@ int nxffs_verifyblock(FAR struct nxffs_volume_s *volume, off_t block) FAR struct nxffs_block_s *blkhdr; int ret; - /* Make sure the the block is in the cache */ + /* Make sure that the block is in the cache */ ret = nxffs_rdcache(volume, block); if (ret < 0) diff --git a/nuttx/fs/nxffs/nxffs_cache.c b/nuttx/fs/nxffs/nxffs_cache.c index 0cc97980e..059c1e729 100644 --- a/nuttx/fs/nxffs/nxffs_cache.c +++ b/nuttx/fs/nxffs/nxffs_cache.c @@ -251,7 +251,7 @@ int nxffs_getc(FAR struct nxffs_volume_s *volume, uint16_t reserve) } while (ret != OK); - /* Return the the character at this offset. Note that on return, + /* Return the character at this offset. Note that on return, * iooffset could point to the byte outside of the current block. */ diff --git a/nuttx/fs/nxffs/nxffs_pack.c b/nuttx/fs/nxffs/nxffs_pack.c index 5a82ae4fd..4fe3fb681 100644 --- a/nuttx/fs/nxffs/nxffs_pack.c +++ b/nuttx/fs/nxffs/nxffs_pack.c @@ -260,7 +260,7 @@ static inline off_t nxffs_mediacheck(FAR struct nxffs_volume_s *volume, * pack - The volume packing state structure. * froffset - On input, this is the location where we should be searching * for the location to begin packing. On successful return, froffset - * will be set the the offset in FLASH where the first inode should be + * will be set to the offset in FLASH where the first inode should be * copied to. If -ENOSPC is returned -- meaning that the FLASH is full * -- then no packing can be performed. In this case, then the free * flash offset is returned through this location. @@ -939,7 +939,7 @@ static inline int nxffs_packblock(FAR struct nxffs_volume_s *volume, nxffs_packtransfer(volume, pack); /* Now, either the (1) src block has been fully transferred, (2) all - * of the source data has been transferred, or (3) the the destination + * of the source data has been transferred, or (3) the destination * block is full, .. or all three. * * Check if all of the bytes in the source inode have been transferred. @@ -1121,7 +1121,7 @@ nxffs_setupwriter(FAR struct nxffs_volume_s *volume, * * Writing is performed at the end of the free FLASH region and this * implemenation is restricted to a single writer. The new inode is not - * written to FLASH until the the writer is closed and so will not be + * written to FLASH until the writer is closed and so will not be * found by nxffs_packblock(). * * Input Parameters: @@ -1192,7 +1192,7 @@ static inline int nxffs_packwriter(FAR struct nxffs_volume_s *volume, nxffs_packtransfer(volume, pack); /* Now, either the (1) src block has been fully transferred, (2) all - * of the source data has been transferred, or (3) the the destination + * of the source data has been transferred, or (3) the destination * block is full, .. or all three. * * Check if all of the bytes in the source inode have been transferred. @@ -1473,7 +1473,7 @@ start_pack: /* Writing is performed at the end of the free * FLASH region and this implemenation is restricted * to a single writer. The new inode is not - * written to FLASH until the the writer is closed + * written to FLASH until the writer is closed * and so will not be found by nxffs_packblock(). */ diff --git a/nuttx/fs/nxffs/nxffs_read.c b/nuttx/fs/nxffs/nxffs_read.c index b638dbfd4..a97c09263 100644 --- a/nuttx/fs/nxffs/nxffs_read.c +++ b/nuttx/fs/nxffs/nxffs_read.c @@ -127,7 +127,7 @@ static ssize_t nxffs_rdseek(FAR struct nxffs_volume_s *volume, datstart = datend; datend += blkentry->datlen; - /* Offset to search for the the next data block */ + /* Offset to search for the next data block */ offset = blkentry->hoffset + SIZEOF_NXFFS_DATA_HDR + blkentry->datlen; } @@ -418,7 +418,7 @@ int nxffs_rdblkhdr(FAR struct nxffs_volume_s *volume, off_t offset, uint16_t dlen; int ret; - /* Make sure the the block containing the data block header is in the cache */ + /* Make sure that the block containing the data block header is in the cache */ nxffs_ioseek(volume, offset); ret = nxffs_rdcache(volume, volume->ioblock); diff --git a/nuttx/fs/nxffs/nxffs_unlink.c b/nuttx/fs/nxffs/nxffs_unlink.c index 73b0f360a..8c8553025 100644 --- a/nuttx/fs/nxffs/nxffs_unlink.c +++ b/nuttx/fs/nxffs/nxffs_unlink.c @@ -122,7 +122,7 @@ int nxffs_rminode(FAR struct nxffs_volume_s *volume, FAR const char *name) nxffs_ioseek(volume, entry.hoffset); - /* Make sure the the block is in the cache */ + /* Make sure that the block is in the cache */ ret = nxffs_rdcache(volume, volume->ioblock); if (ret < 0) diff --git a/nuttx/fs/nxffs/nxffs_write.c b/nuttx/fs/nxffs/nxffs_write.c index bf32b0fb4..756ac7467 100644 --- a/nuttx/fs/nxffs/nxffs_write.c +++ b/nuttx/fs/nxffs/nxffs_write.c @@ -745,7 +745,7 @@ int nxffs_wrverify(FAR struct nxffs_volume_s *volume, size_t size) } } - /* If we get here, then we have looked at every byte in the the block + /* If we get here, then we have looked at every byte in the block * and did not find any sequence of erased bytes long enough to hold * the object. Skip to the next, valid block. */ |