aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-10-14 20:44:54 +0200
committerTheodore Ts'o <tytso@mit.edu>2017-10-15 23:00:03 -0400
commitce20096fc6f3b38de62c2302e3a8cb87f389dda0 (patch)
tree3df0268e5ca05528fd9375733627882fe9290c86 /doc
parenta0e173cd0ed483d03eb54db946e403d129652e31 (diff)
downloadandroid_external_e2fsprogs-ce20096fc6f3b38de62c2302e3a8cb87f389dda0.tar.gz
android_external_e2fsprogs-ce20096fc6f3b38de62c2302e3a8cb87f389dda0.tar.bz2
android_external_e2fsprogs-ce20096fc6f3b38de62c2302e3a8cb87f389dda0.zip
Fix typos in error messages and documentation
Signed-off-by: Sebastian Rasmussen <sebras@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Diffstat (limited to 'doc')
-rw-r--r--doc/libext2fs.texinfo14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/libext2fs.texinfo b/doc/libext2fs.texinfo
index 8f046510..c645d82a 100644
--- a/doc/libext2fs.texinfo
+++ b/doc/libext2fs.texinfo
@@ -146,7 +146,7 @@ There are two functions which create a filesystem handle,
@code{ext2fs_open} and @code{ext2fs_initialize}.
The filesystem can also be closed using @code{ext2fs_close}, and any
-changes to the superblock and group descripts can be written out to disk
+changes to the superblock and group descriptors can be written out to disk
using @code{ext2fs_flush}.
@menu
@@ -183,7 +183,7 @@ image.
The @var{block_size} parameter specifies the block size used by the
filesystem. Normally this is determined automatically from the
-filesystem uperblock. If @var{block_size} is non-zero, it must match
+filesystem superblock. If @var{block_size} is non-zero, it must match
the block size found in the superblock, or the error
@code{EXT2_ET_UNEXPECTED_BLOCK_SIZE} will be returned. The
@var{block_size} parameter is also used to help fund the superblock when
@@ -625,7 +625,7 @@ The @var{flags} parameter controls how the iterator will function:
@table @samp
@item BLOCK_FLAG_HOLE
-This flag indiciates that the interator function should be called on
+This flag indicates that the interator function should be called on
blocks where the block number is zero (also known as ``holes''.) It is
also known as BLOCK_FLAG_APPEND, since it is also used by functions
such as ext2fs_expand_dir() to add a new block to an inode.
@@ -633,7 +633,7 @@ such as ext2fs_expand_dir() to add a new block to an inode.
@item BLOCK_FLAG_DEPTH_TRAVERSE
This flag indicates that the iterator function for the
indirect, doubly indirect, etc. blocks should be called after all
-of the blocks containined in the indirect blocks are processed.
+of the blocks contained in the indirect blocks are processed.
This is useful if you are going to be deallocating blocks from an
inode.
@@ -1175,7 +1175,7 @@ in block @var{blk}.
@deftypefun errcode_t ext2fs_set_dir_block (ext2_dblist @var{dblist}, ext2_ino_t @var{ino}, blk_t @var{blk}, int @var{blockcnt})
Change an entry in the dblist data structure; this changes the location
-of block number @var{blockcnt} of directory indoe @var{ino} to be block
+of block number @var{blockcnt} of directory inode @var{ino} to be block
@var{blk}.
@end deftypefun
@@ -1208,12 +1208,12 @@ the inode is referenced according to the inode structure.
This abstraction is designed to be extremely efficient for storing this
sort of information, by taking advantage of the following properties of
inode counts, namely (1) inode counts are very often zero (because
-the inode is currrently not in use), and (2) many files have a inode
+the inode is currently not in use), and (2) many files have a inode
count of 1 (because they are a file which has no additional hard links).
@deftypefun errcode_t ext2fs_create_icount2 (ext2_filsys @var{fs}, int @var{flags}, int @var{size}, ext2_icount_t @var{hint}, ext2_icount_t *@var{ret})
-Creates an icount stucture for a filesystem @var{fs}, with initial space
+Creates an icount structure for a filesystem @var{fs}, with initial space
for @var{size} inodes whose count is greater than 1. The @var{flags}
parameter is either 0 or @code{EXT2_ICOUNT_OPT_INCREMENT}, which
indicates that icount structure should be able to increment inode counts