[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <14508570e78e912db761692fef0dfa21d6b8177a.1513233071.git.tgnottingham@gmail.com>
Date: Wed, 13 Dec 2017 23:13:13 -0800
From: Tyson Nottingham <tgnottingham@...il.com>
To: tytso@....edu
Cc: linux-ext4@...r.kernel.org,
Tyson Nottingham <tgnottingham@...il.com>
Subject: [PATCH 5/5] Fix minor typos in libext2fs documentation.
Signed-off-by: Tyson Nottingham <tgnottingham@...il.com>
---
doc/libext2fs.texinfo | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/doc/libext2fs.texinfo b/doc/libext2fs.texinfo
index 7ce74ba..1c3731f 100644
--- a/doc/libext2fs.texinfo
+++ b/doc/libext2fs.texinfo
@@ -164,7 +164,7 @@ using @code{ext2fs_flush}.
Most libext2fs functions take a filesystem handle of type
@code{ext2_filsys}. A filesystem handle is created either by opening
-an existing function using @code{ext2fs_open}, or by initializing a new
+an existing filesystem using @code{ext2fs_open}, or by initializing a new
filesystem using @code{ext2fs_initialize}.
@deftypefun errcode_t ext2fs_open (const char *@...{name}, int @var{flags}, int @var{superblock}, int @var{block_size}, io_manager @var{manager}, ext2_filsys *@...{ret_fs})
@@ -186,7 +186,7 @@ filesystem. Normally this is determined automatically from the
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
-@...{block_size} parameter is also used to help fund the superblock when
+@...{block_size} parameter is also used to help find the superblock when
@var{superblock} is non-zero.
The @var{flags} argument contains a bitmask of flags which control how
@@ -472,7 +472,7 @@ via @var{got}.
@deftypefun errcode_t ext2fs_file_write (ext2_file_t @var{file}, const void *@...{buf}, unsigned int @var{nbytes}, unsigned int *@...{written})
Write @var{wanted} bytes of data from the buffer @var{buf} to the
current file position of @var{file}. The number of bytes that was
-actually written is returned via @var{got}.
+actually written is returned via @var{written}.
@end deftypefun
@c ----------------------------------------------------------------------
@@ -739,20 +739,20 @@ contain valid block entries.
@deftypefun errcode_t ext2fs_read_dir_block (ext2_filsys @var{fs}, blk_t @var{block}, void *@...{buf})
-This function reads a directory block, performing any necessary
+This function reads a directory block, performing
byte swapping if necessary.
@end deftypefun
@deftypefun errcode_t ext2fs_write_dir_block (ext2_filsys @var{fs}, blk_t @var{block}, void *@...{buf})
-This function writes a directory block, performing any necessary
+This function writes a directory block, performing
byte swapping if necessary.
@end deftypefun
@deftypefun errcode_t ext2fs_new_dir_block (ext2_filsys @var{fs}, ext2_ino_t @var{dir_ino}, ext2_ino_t @var{parent_ino}, char **@...{block})
This function creates a new directory block in @var{block}. If
-@...{dir_ino} is non-zero, then @var{dir_info} and @var{parent_ino} is used
+@...{dir_ino} is non-zero, then @var{dir_ino} and @var{parent_ino} are used
to initialize directory entries for @file{.} and @file{..}, respectively.
@end deftypefun
@@ -1157,7 +1157,7 @@ trying to turn an inode number into a pathname.
@deftypefun errcode_t ext2fs_init_dblist (ext2_filsys @var{fs}, ext2_dblist *@...{ret_dblist})
-Creates a dblist data structure and return it in @var{ret_dblist}.
+Creates a dblist data structure and returns it in @var{ret_dblist}.
@end deftypefun
@deftypefun void ext2fs_free_dblist (ext2_dblist @var{dblist})
@@ -1234,7 +1234,7 @@ Frees an icount structure.
@deftypefun errcode_t ext2fs_icount_fetch (ext2_icount_t @var{icount}, ext2_ino_t @var{ino}, __u16 *@...{ret})
-Returns in @var{ret} fetches the count for a particular inode @var{ino}.
+Returns in @var{ret} the count for a particular inode @var{ino}.
@end deftypefun
@deftypefun errcode_t ext2fs_icount_increment (ext2_icount_t @var{icount}, ext2_ino_t @var{ino}, __u16 *@...{ret})
--
2.7.4
Powered by blists - more mailing lists