]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Fix typos in code comments and developer docs
authorSebastian Rasmussen <sebras@gmail.com>
Sun, 8 Oct 2017 11:30:08 +0000 (13:30 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 16 Oct 2017 03:00:11 +0000 (23:00 -0400)
Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
81 files changed:
INSTALL
INSTALL.elfbin
TODO
aclocal.m4
configure.ac
contrib/add_ext4_encrypt.c
debian/rules
debian/uuid-dev.README.Debian
debugfs/Makefile.in
debugfs/logdump.c
debugfs/set_fields.c
debugfs/util.c
e2fsck/message.c
e2fsck/pass1.c
e2fsck/pass1b.c
e2fsck/pass2.c
e2fsck/pass3.c
e2fsck/pass5.c
e2fsck/problem.c
e2fsck/problem.h
e2fsck/recovery.c
e2fsck/region.c
e2fsck/unix.c
e2fsck/util.c
ext2ed/README
ext2ed/dir_com.c
ext2ed/disk.c
ext2ed/ext2ed.conf.in
ext2ed/ext2ed.h
ext2ed/init.c
ext2ed/main.c
intl/dcigettext.c
intl/l10nflist.c
intl/libgettext.h
intl/xsize.h
lib/blkid/dev.c
lib/blkid/probe.h
lib/blkid/tag.c
lib/et/com_right.c
lib/ext2fs/Makefile.in
lib/ext2fs/alloc_tables.c
lib/ext2fs/bb_inode.c
lib/ext2fs/bitops.c
lib/ext2fs/blkmap64_rb.c
lib/ext2fs/ext2_fs.h
lib/ext2fs/ext2fs.h
lib/ext2fs/ext3_extents.h
lib/ext2fs/get_pathname.c
lib/ext2fs/inline_data.c
lib/ext2fs/inode.c
lib/ext2fs/nt_io.c
lib/ext2fs/rbtree.h
lib/ext2fs/res_gdt.c
lib/ext2fs/tdb.c
lib/ext2fs/undo_io.c
lib/ss/ct_c.sed
lib/support/profile.c
lib/support/profile_helpers.c
lib/support/quotaio.h
lib/support/quotaio_tree.h
lib/uuid/gen_uuid_nt.c
misc/Makefile.in
misc/create_inode.c
misc/e2image.c
misc/e4crypt.c
misc/e4defrag.c
misc/findsuper.c
misc/fsck.c
misc/fsck.h
misc/logsave.c
misc/tune2fs.h
resize/extent.c
resize/main.c
resize/online.c
resize/resize2fs.c
resize/resize2fs.h
resize/sim_progress.c
resize/test_extent.c
util/gen-tarball.in
util/subst.c
util/symlinks.c

diff --git a/INSTALL b/INSTALL
index b5afd2f53e849936a98fc86470bb499786ee3de2..2dd08f53bdae7c29b6c360125c51591383d907ba 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -56,7 +56,7 @@ frequency, and the fsck pass number, respectively.  The problem with
 this is that the getmntent() library routine interprets those missing
 fields as "0", and a pass number of 0 is documented as meaning that
 fsck should not check that particular filesystem.  If your entries in
-your /etc/fstab file look liks this:
+your /etc/fstab file look like this:
 
 /dev/hda4       /        ext2        defaults
 
index 3f54aa103a643ebc29290ffe5b363a8069259e8b..9c2c6006180f2db1aaf4c8d230634fe997c73c73 100644 (file)
@@ -35,7 +35,7 @@ frequency, and the fsck pass number, respectively.  The problem with
 this is that the getmntent() library routine interprets those missing
 fields as "0", and a pass number of 0 is documented as meaning that
 fsck should not check that particular filesystem.  If your entries in
-your /etc/fstab file look liks this:
+your /etc/fstab file look like this:
 
 /dev/hda4       /        ext2        defaults
 
diff --git a/TODO b/TODO
index d531d1750bdf59805bed963d8f72f0da660aebad..a622bec15fcdddab94a6af4d6c7336566b02df51 100644 (file)
--- a/TODO
+++ b/TODO
@@ -29,7 +29,7 @@ Date: Mon, 08 Mar 1999 21:46:14 +0100
 From: Sergio Polini <s.polini@mclink.it>
 
 
-I'm reading the sorce code of e2fsck 1.14.
+I'm reading the source code of e2fsck 1.14.
 In pass2.c, lines 352-357, I read:
 
 if ((dirent->name_len & 0xFF) > EXT2_NAME_LEN) {
@@ -72,7 +72,7 @@ directories by using debugfs to get the relevant block numbers, then
 using dd to get the actual data.
 
 If debugfs had a feature where it ignored the size of a directory reported by
-the inode and instead just dumped all the blocks, it would have facilited
+the inode and instead just dumped all the blocks, it would have facilitated
 things a bit. This seems like a very easy feature to add.
 
 Again, thanks for writing debugfs (and all the other Linux stuff you've written!).
index 4cf123a17dad4515a8629cdcb08304b6e3079466..cfb42cd195f79c4e3705fd89c46fb19b63162c95 100644 (file)
@@ -1884,7 +1884,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
     fi
 ])
   dnl Search the library and its dependencies in $additional_libdir and
-  dnl $LDFLAGS. Using breadth-first-seach.
+  dnl $LDFLAGS. Using breadth-first-search.
   LIB[]NAME=
   LTLIB[]NAME=
   INC[]NAME=
@@ -2912,7 +2912,7 @@ fi[]dnl
 # to PKG_CHECK_MODULES(), but does not set variables or print errors.
 #
 # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-# only at the first occurence in configure.ac, so if the first place
+# only at the first occurrence in configure.ac, so if the first place
 # it's called might be skipped (such as if it is within an "if", you
 # have to call PKG_CHECK_EXISTS manually
 # --------------------------------------------------------------
index f69a193efd4ba6693f42bbf2db358ab64f895898..dd1668766fe938e611e07e8d0b2e622c8583da00 100644 (file)
@@ -124,8 +124,8 @@ else
 fi
 AC_USE_SYSTEM_EXTENSIONS
 dnl
-dnl Set default values for library extentions.  Will be dealt with after
-dnl parsing configuration opions, which may modify these
+dnl Set default values for library extensions.  Will be dealt with after
+dnl parsing configuration options, which may modify these
 dnl
 LIB_EXT=.a
 STATIC_LIB_EXT=.a
@@ -975,7 +975,7 @@ AC_CHECK_HEADERS(net/if.h,,,
 ]])
 AC_FUNC_VPRINTF
 dnl Check to see if dirent has member d_reclen. On cygwin those d_reclen
-dnl is not decleared.
+dnl is not declared.
 AC_CHECK_MEMBER(struct dirent.d_reclen,[AC_DEFINE(HAVE_RECLEN_DIRENT, 1,
                       [Define to 1 if dirent has d_reclen])],,
                [#include <dirent.h>])
index d4e7c8c556c01db346f76a51640155d11fe753b6..133fe253fa7314b7040c2dc18130571344a1746d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Basic progam to add ext4 encryption to a file system
+ * Basic program to add ext4 encryption to a file system
  *
  * Copyright 2015, Google, Inc.
  *
index 81eafc31567c758cc800cb881ee2177d81e0a23c..94fe7069219088e242930f8e5e0e31416a42099e 100755 (executable)
@@ -304,7 +304,7 @@ install: cleanup install-std
 
 # This rule allows to factorize the dh_clean between the 2 install rules
 # This must be launched before install-* (if launching them by hand, for
-# exemple) or results are unpredictable
+# example) or results are unpredictable
 cleanup:
        dh_testdir
        dh_testroot
index 3d8cc89c57a2f238c2633866b834c2577af0c5fe..a4f047e31ffb4d99fae7f3729cecee9e35104578 100644 (file)
@@ -1,5 +1,5 @@
 
-In order to santize e2fsprogs to be DFSG free, the file
+In order to sanitize e2fsprogs to be DFSG free, the file
 draft-leach-uuids-guids-01.txt has been removed.  It can be obtained
 by downloading e2fsprogs from the upstream sources.  It may also be
 available from other sites on the network, if you do a quick web
@@ -16,7 +16,7 @@ the documentation which has been removed for Debian's DFSG license
 purity shouldn't be denied to Ubuntu users.
 
                                        Theodore Ts'o
-                                       Ocotober 3, 2006
+                                       October 3, 2006
 
 
 
index 3ac80d9b9b018db7f83abd1e2c4c85d1ac082dc7..aef4a5a865e8a20d520522fe391cbe6eff52d0cf 100644 (file)
@@ -46,7 +46,7 @@ STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(DEPSTATIC_LIBSS) \
                $(DEPSTATIC_LIBCOM_ERR) $(DEPSTATIC_LIBUUID) \
                $(DEPSTATIC_LIBE2P)
 
-# This nastyness is needed because of jfs_user.h hackery; when we finally
+# This nastiness is needed because of jfs_user.h hackery; when we finally
 # clean up this mess, we should be able to drop it
 LOCAL_CFLAGS = -I$(srcdir)/../e2fsck -DDEBUGFS
 DEPEND_CFLAGS = -I$(srcdir)
index 6ff5ad1f0d57493d8958cced6381023e55bc31da..864f234cb4565c93978d844b02c1c05dbb65db05 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * logdump.c --- dump the contents of the journal out to a file
  *
- * Authro: Stephen C. Tweedie, 2001  <sct@redhat.com>
+ * Author: Stephen C. Tweedie, 2001  <sct@redhat.com>
  * Copyright (C) 2001 Red Hat, Inc.
  * Based on portions  Copyright (C) 1994 Theodore Ts'o.
  *
index ff9b7b6946deb3f5da18f45fed25a91d06a3c465..af7a0ab3b99fd8183df16cd1c370b517d8818b86 100644 (file)
@@ -430,7 +430,7 @@ static struct field_set_info *find_field(struct field_set_info *fields,
 
 /*
  * Note: info->size == 6 is special; this means a base size 4 bytes,
- * and secondiory (high) size of 2 bytes.  This is needed for the
+ * and secondary (high) size of 2 bytes.  This is needed for the
  * special case of i_blocks_high and i_file_acl_high.
  */
 static errcode_t parse_uint(struct field_set_info *info, char *field,
index 5f101f48dc73d55ae4170bf21696c93a014749c5..452de749bc2a499962496c13b512d098d27d3256 100644 (file)
@@ -210,7 +210,7 @@ char *time_to_string(__s64 cl)
        const char      *tz;
 
        if (do_gmt == -1) {
-               /* The diet libc doesn't respect the TZ environemnt variable */
+               /* The diet libc doesn't respect the TZ environment variable */
                tz = ss_safe_getenv("TZ");
                if (!tz)
                        tz = "";
index 5168cdf6070d61bd0f9001534f938c43bccec2f6..30ce620aa123aecffcc0d73f7febfeaeeb31a5e6 100644 (file)
@@ -224,7 +224,7 @@ static void print_time(FILE *f, time_t t)
        static int              do_gmt = -1;
 
 #ifdef __dietlibc__
-               /* The diet libc doesn't respect the TZ environemnt variable */
+               /* The diet libc doesn't respect the TZ environment variable */
                if (do_gmt == -1) {
                        time_str = getenv("TZ");
                        if (!time_str)
index 6442c944979b5dd9cd5d52c6c36f84eb80fb0c44..7a82536dde57feb7b59e9b6e4c23d6d4279c9125 100644 (file)
@@ -29,7 +29,7 @@
  *
  * Pass 1 is designed to stash away enough information so that the
  * other passes should not need to read in the inode information
- * during the normal course of a filesystem check.  (Althogh if an
+ * during the normal course of a filesystem check.  (Although if an
  * inconsistency is detected, other passes may need to read in an
  * inode to fix it.)
  *
@@ -1581,7 +1581,7 @@ void e2fsck_pass1(e2fsck_t ctx)
                        /*
                         * Make sure the root inode is a directory; if
                         * not, offer to clear it.  It will be
-                        * regnerated in pass #3.
+                        * regenerated in pass #3.
                         */
                        if (!LINUX_S_ISDIR(inode->i_mode)) {
                                if (fix_problem(ctx, PR_1_ROOT_NO_DIR, &pctx))
@@ -3948,7 +3948,7 @@ static void mark_table_blocks(e2fsck_t ctx)
 }
 
 /*
- * Thes subroutines short circuits ext2fs_get_blocks and
+ * These subroutines short circuits ext2fs_get_blocks and
  * ext2fs_check_directory; we use them since we already have the inode
  * structure, so there's no point in letting the ext2fs library read
  * the inode again.
index d22cffd3554cab787e636597a02de20bd0c23096..392ff2c62b84ad6e49f0dd06177d3a45a4679130 100644 (file)
@@ -919,7 +919,7 @@ static errcode_t clone_file(e2fsck_t ctx, ext2_ino_t ino,
                                        sizeof(dp->inode), "clone file EA");
                /*
                 * If we cloned the EA block, find all other inodes
-                * which refered to that EA block, and modify
+                * which referred to that EA block, and modify
                 * them to point to the new EA block.
                 */
                n = dict_lookup(&clstr_dict,
index 170878c1bf1429861529ead34c327939cde6ce78..7190c9772220ebd3e90ad251ffcf7fe5367a40cc 100644 (file)
@@ -1602,7 +1602,7 @@ static int deallocate_inode_block(ext2_filsys fs,
 }
 
 /*
- * This fuction deallocates an inode
+ * This function deallocates an inode
  */
 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf)
 {
@@ -1672,7 +1672,7 @@ clear_inode:
 }
 
 /*
- * This fuction clears the htree flag on an inode
+ * This function clears the htree flag on an inode
  */
 static void clear_htree(e2fsck_t ctx, ext2_ino_t ino)
 {
index 4d9430bbe7f86c5b1371a8916cb750fad38f61e0..6a975b362a4172be06058bed7ab81dab30ccfa08 100644 (file)
@@ -15,7 +15,7 @@
  * not, e2fsck will offer to create a new one.  It is then marked as
  * "done".
  *
- * Then, pass3 interates over all directory inodes; for each directory
+ * Then, pass3 iterates over all directory inodes; for each directory
  * it attempts to trace up the filesystem tree, using dirinfo.parent
  * until it reaches a directory which has been marked "done".  If it
  * can not do so, then the directory must be disconnected, and e2fsck
index fb55b7e66c0850ac53269ab63c699c6232aa3a39..d9e2858f714de81c20e14658b1b55ee25a15f136 100644 (file)
@@ -302,7 +302,7 @@ static void print_bitmap_problem(e2fsck_t ctx, problem_t problem,
        pctx->ino = pctx->ino2 = 0;
 }
 
-/* Just to be more succint */
+/* Just to be more succinct */
 #define B2C(x) EXT2FS_B2C(fs, (x))
 #define EQ_CLSTR(x, y) (B2C(x) == B2C(y))
 #define LE_CLSTR(x, y) (B2C(x) <= B2C(y))
index c4c5542950f3561631a4d61245ec8d105424273f..7dbd0b2783a01a3f0107c44b98e3685a54535247 100644 (file)
@@ -174,7 +174,7 @@ static struct e2fsck_problem problem_table[] = {
          N_("Corruption found in @S.  (%s = %N).\n"),
          PROMPT_NONE, PR_AFTER_CODE, PR_0_SB_CORRUPT },
 
-       /* Error determing physical device size of filesystem */
+       /* Error determining physical device size of filesystem */
        { PR_0_GETSIZE_ERROR,
          N_("Error determining size of the physical @v: %m\n"),
          PROMPT_NONE, PR_FATAL },
@@ -1311,7 +1311,7 @@ static struct e2fsck_problem problem_table[] = {
          N_("@E has @D/unused @i %Di.  "),
          PROMPT_CLEAR, PR_PREEN_OK },
 
-       /* Directry entry is link to '.' */
+       /* Directory entry is link to '.' */
        { PR_2_LINK_DOT,
          N_("@E @L to '.'  "),
          PROMPT_CLEAR, 0 },
@@ -1326,7 +1326,7 @@ static struct e2fsck_problem problem_table[] = {
          N_("@E @L to @d %P (%Di).\n"),
          PROMPT_CLEAR, 0 },
 
-       /* Directory entry contains a link to the root directry */
+       /* Directory entry contains a link to the root directory */
        { PR_2_LINK_ROOT,
          N_("@E @L to the @r.\n"),
          PROMPT_CLEAR, 0 },
index c949547da1053232811f2e6e1c51534e33d81436..7eb20b76ec3ab311c5d2c3e40cf8a80b2374dc72 100644 (file)
@@ -91,7 +91,7 @@ struct problem_context {
 /* Miscellaneous superblock corruption */
 #define PR_0_MISC_CORRUPT_SUPER                        0x00000B
 
-/* Error determing physical device size of filesystem */
+/* Error determining physical device size of filesystem */
 #define PR_0_GETSIZE_ERROR                     0x00000C
 
 /* Inode count in the superblock incorrect */
@@ -783,7 +783,7 @@ struct problem_context {
 /* Directory entry has deleted or unused inode */
 #define PR_2_UNUSED_INODE      0x020003
 
-/* Directry entry is link to '.' */
+/* Directory entry is link to '.' */
 #define PR_2_LINK_DOT          0x020004
 
 /* Directory entry points to inode now located in a bad block */
@@ -792,7 +792,7 @@ struct problem_context {
 /* Directory entry contains a link to a directory */
 #define PR_2_LINK_DIR          0x020006
 
-/* Directory entry contains a link to the root directry */
+/* Directory entry contains a link to the root directory */
 #define PR_2_LINK_ROOT         0x020007
 
 /* Directory entry has illegal characters in its name */
@@ -1082,7 +1082,7 @@ struct problem_context {
 #define PR_3_LPF_ENCRYPTED             0x03001B
 
 /*
- * Pass 3a --- rehashing diretories
+ * Pass 3a --- rehashing directories
  */
 /* Pass 3a: Reindexing directories */
 #define PR_3A_PASS_HEADER              0x031000
@@ -1196,7 +1196,7 @@ struct problem_context {
 /* Inode range not used, but marked in bitmap */
 #define PR_5_INODE_RANGE_UNUSED                0x050016
 
-/* Inode rangeused, but not marked used in bitmap */
+/* Inode range used, but not marked used in bitmap */
 #define PR_5_INODE_RANGE_USED          0x050017
 
 /* Block in use but group is marked BLOCK_UNINIT */
index 4c457b39359811fac2ead35d28589fa1df7f8c80..81110e4d445065edbfc2b0b576d0d1fec453cadb 100644 (file)
@@ -325,7 +325,7 @@ int journal_recover(journal_t *journal)
  * Locate any valid recovery information from the journal and set up the
  * journal structures in memory to ignore it (presumably because the
  * caller has evidence that it is out of date).
- * This function does'nt appear to be exorted..
+ * This function doesn't appear to be exported..
  *
  * We perform one pass over the journal to allow us to tell the user how
  * much recovery information is being erased, and to let us initialise
@@ -689,7 +689,7 @@ static int do_one_pass(journal_t *journal,
                         *              | GO TO NEXT    "Journal Corruption"
                         *              | TRANSACTION
                         *              |
-                        * {(n+1)th transanction}
+                        * {(n+1)th transaction}
                         *              |
                         *       _______|______________
                         *      |                     |
index 95d23be4f26c8853408b7c56dfd9c50fe5db9b8f..d5b37df85db7782ceceece0c477d8d627b6cf2d6 100644 (file)
@@ -84,7 +84,7 @@ int region_allocate(region_t region, region_addr_t start, int n)
 
        /*
         * Search through the linked list.  If we find that it
-        * conflicts witih something that's already allocated, return
+        * conflicts with something that's already allocated, return
         * 1; if we can find an existing region which we can grow, do
         * so.  Otherwise, stop when we find the appropriate place
         * insert a new region element into the linked list.
index 939862f1a6f3df8967c77096f0a4091539a69fba..b46dcb2dcbddad3486645a44dec8ee3f3437bfe9 100644 (file)
@@ -1214,7 +1214,7 @@ static errcode_t e2fsck_check_mmp(ext2_filsys fs, e2fsck_t ctx)
        if (retval)
                goto check_error;
 
-       /* Print warning if e2fck will wait for more than 20 secs. */
+       /* Print warning if e2fsck will wait for more than 20 secs. */
        if (verbose || wait_time > EXT4_MMP_MIN_CHECK_INTERVAL * 4) {
                log_out(ctx, _("MMP interval is %u seconds and total wait "
                               "time is %u seconds. Please wait...\n"),
index a297e58f1a247e5726729db92a7175a28bd485e3..ed9470257469537502ce95a1559581a6d48c16da 100644 (file)
@@ -735,7 +735,7 @@ int check_for_modules(const char *fs_name)
 
 /*
  * Helper function that does the right thing if write returns a
- * partial write, or an EGAIN/EINTR error.
+ * partial write, or an EAGAIN/EINTR error.
  */
 int write_all(int fd, char *buf, size_t count)
 {
index fda4b87c198b6acaf8798c7ba9b6a1da849e9517..1f473cf4b119697d4b34888ac5ff63a7092ba1a0 100644 (file)
@@ -48,10 +48,10 @@ This is version 0.2 of ext2ed - The extended-2 filesystem editor.
 Modifications on Apr 5 2001
 This is minor bug fixes to ext2ed, as of April 2001.
 It supports modern ext2 version that has file type in directory structure
-and fixes the missunderstanding between ncurses and
+and fixes the misunderstanding between ncurses and
 readline.
 
-I first applied patches from Redhat except the one for readline that 
+I first applied patches from Red Hat except the one for readline that 
 rewrote a readline behavior.
 
 Globals diffs between version 0.1 and 0.2 is stored in file :
@@ -114,7 +114,7 @@ that ncurses will be properly installed on your system:
        set your TERM environment variable to 'linux' or link
        l/linux to c/console in the terminfo database.
 
-4.     The percompiled binary was linked with ncurses 1.9.4 and will search
+4.     The precompiled binary was linked with ncurses 1.9.4 and will search
        for the terminfo database on /usr/local/lib/terminfo. If you are
        using it, and your 1.9.4 compatible terminfo database is not on the
        directory above, use the TERMINFO environment variable to specify
index ba8526764add1e0c5bc6d9f866eba0e51b149ddb..67bb4b57a72ab53f42a93655832c4daeed437e5b 100644 (file)
@@ -539,7 +539,7 @@ void type_dir___remember (char *command_line)
 
 /*
 
-This is overrided here because we don't remember a directory - It is too complicated. Instead, we remember the
+This is overridden here because we don't remember a directory - It is too complicated. Instead, we remember the
 inode of the current directory.
 
 */
index 70ece9436be610e5f299f2d1b1d77611bc37b5af..4612d00dd36460a672ca5f4793d8e09abc9aef2f 100644 (file)
@@ -14,7 +14,7 @@ double check the various permissions and possible errors here.
 The major update which needs to be done here is switching to the use of the llseek system call, so that we will
 be able to support ext2 filesystems up to 4 TB. Currently, due to the standard fseek usage, we can't handle
 filesystems bigger than 4 GB. The limit is actually 2 GB because I used long rather than unsigned long long at too
-many places in the program. To conclude - This upgrade needs to be done carefuly; There are many places to change.
+many places in the program. To conclude - This upgrade needs to be done carefully; There are many places to change.
 
 First written on: April 9 1995
 
index 7e2a9255270fababee5a9f8381fddfaea565873a..c07962347731b854b093d76c95f1d6dcbcb27fde 100644 (file)
@@ -52,8 +52,8 @@ AllowMountedRead      on
 
 # When ForceExt2 is set to on, the filesystem is assumed to be ext2
 # filesystem, despite the possibly corrupt superblock magic number reading.
-# All the ext2 specific commands will be aviable despite the possible
-# autodetection failture.
+# All the ext2 specific commands will be available despite the possible
+# autodetection failure.
 
 ForceExt2              off
 
index b9b43b47af86f8a5bea9f986c5f0215bfaedb12a..0ac77b7a1b178e8b3fc1b329eafaa1a2c3d069c2 100644 (file)
@@ -249,7 +249,7 @@ void signal_SIGSEGV_handler (int sig_num);
 
 /* general_com.c */
 
-/* General commands which are aviable always */
+/* General commands which are available always */
 
 extern void help (char *command_line);
 extern void set (char *command_line);
@@ -275,7 +275,7 @@ void detailed_help (char *text);
 
 /* ext2_com.c */
 
-/* Extended2 filesystem genereal commands - Aviable only when editing an
+/* Extended2 filesystem general commands - Available only when editing an
    ext2 filesystem */
 
 extern void type_ext2___super (char *command_line);
index 718c0d088f2a6f48439d9048d6f2356db3df3c59..4e58431727da8153de54c5f473e50d3c09e13a07 100644 (file)
@@ -57,7 +57,7 @@ int init (void)
 
        general_commands.last_command=-1;       /* No commands whatsoever meanwhile */
        ext2_commands.last_command=-1;
-       add_general_commands ();                /* Add the general commands, aviable always */
+       add_general_commands ();                /* Add the general commands, available always */
        device_handle=NULL;                     /* Notice that our device is still not set up */
        device_offset=-1;
        current_type=NULL;                      /* No filesystem specific types yet */
index 4a29979bdfa69e9aa6d0abe0c7ace6771395311c..f7e7d7dfae8f054504cb8fb7bf8a14475f3c65f9 100644 (file)
@@ -14,7 +14,7 @@ This file mostly contains:
 2.     The parser, which asks the command line from the user.
 3.     The dispatcher, which analyzes the command line and calls the appropriate handler function.
 4.     A command pattern matcher which is used along with the readline completion feature.
-5.     A function which tells the user that an internal error has occured.
+5.     A function which tells the user that an internal error has occurred.
 
 First written on: March 30 1995
 
@@ -57,7 +57,7 @@ They are initialized below to some logical defaults.
 char Ext2Descriptors [200]="ext2.descriptors"; /* The location of the ext2 filesystem object definition */
 char AlternateDescriptors [200]="";            /* We allow the user to define additional structures */
 char LogFile [200]="ext2ed.log";               /* The location of the log file - Each write will be logged there */
-int LogChanges=1;                              /* 1 enables logging, 0 diables logging */
+int LogChanges=1;                              /* 1 enables logging, 0 disables logging */
 int AllowChanges=0;                            /* When set, the enablewrite command will fail */
 int AllowMountedRead=0;                                /* Behavior when trying to open a mounted filesystem read-only */
 int ForceExt2=0;                               /* When set, ext2 autodetection is overridden */
@@ -334,7 +334,7 @@ void parser (void)
 
 
 /*
- * This is a very important function. Its task is to recieve a command
+ * This is a very important function. Its task is to receive a command
  * name and link it to a C function.  There are three types of commands:
  *
  * 1.  General commands - Always available and accessed through
@@ -354,7 +354,7 @@ void parser (void)
  *
  * When an handling function is found, it is called along with the
  * command line that was passed to us. The handling function is then
- * free to interpert the arguments in its own style.
+ * free to interpret the arguments in its own style.
  */
 int dispatch (char *command_line)
 {
@@ -480,7 +480,7 @@ char *complete_command (char *text,int state)
                        }
                }
 
-       /* No, pehaps ext2 specific command then ? */
+       /* No, perhaps ext2 specific command then ? */
 
        for (i=0;i<=ext2_commands.last_command;i++) {
                if (strncmp (ext2_commands.names [i],text,len)==0) {
index 79678cf8963ecf9b31437db4dda6761b6aab6815..f5a99b5026ea0863565869d139d7813b897559ce 100644 (file)
@@ -602,7 +602,7 @@ DCIGETTEXT (const char *domainname, const char *msgid1, const char *msgid2,
          /* When this is a SUID binary we must not allow accessing files
             outside the dedicated directories.  */
          if (ENABLE_SECURE && IS_PATH_WITH_DIR (single_locale))
-           /* Ingore this entry.  */
+           /* Ignore this entry.  */
            continue;
        }
 
index 3393ecb5f5edf4960684bef124686e07a56dd4f8..c13d36da59092655224bcadc67c2679e9219dfac 100644 (file)
@@ -242,7 +242,7 @@ _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_list,
     }
   if ((mask & (XPG_MODIFIER | CEN_AUDIENCE)) != 0)
     {
-      /* This component can be part of both syntaces but has different
+      /* This component can be part of both syntaxes but has different
         leading characters.  For CEN we use `+', else `@'.  */
       *cp++ = (mask & CEN_AUDIENCE) != 0 ? '+' : '@';
       cp = stpcpy (cp, modifier);
index 3a92960ae3ee9ff2a1376816de31c179061d390e..c069fbd59990772fb983b9d53bef0fa9b1842a91 100644 (file)
@@ -84,7 +84,7 @@ extern int _msg_tbl_length;
 #endif
 
 
-/* For automatical extraction of messages sometimes no real
+/* For automatic extraction of messages sometimes no real
    translation is needed.  Instead the string itself is the result.  */
 #define gettext_noop(Str) (Str)
 
index 362e24b72415497eb41c5b16e7eefd9e8e89993c..e3707fa12b9f4cb120f1d01c3d52a078bac1a297 100644 (file)
@@ -95,7 +95,7 @@ xmax (size_t size1, size_t size2)
 /* Multiplication of a count with an element size, with overflow check.
    The count must be >= 0 and the element size must be > 0.
    This is a macro, not an inline function, so that it works correctly even
-   when N is of a wider tupe and N > SIZE_MAX.  */
+   when N is of a wider type and N > SIZE_MAX.  */
 #define xtimes(N, ELSIZE) \
   ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX)
 
index 6d8eaeac612064b9984a12493eb8e469086e8c7b..d35513e4641db0e5a147e93ab38930acb350fc2c 100644 (file)
@@ -91,7 +91,7 @@ void blkid_debug_dump_dev(blkid_dev dev)
  *
  * These routines do not expose the list.h implementation, which are a
  * contamination of the namespace, and which force us to reveal far, far
- * too much of our internal implemenation.  I'm not convinced I want
+ * too much of our internal implementation.  I'm not convinced I want
  * to keep list.h in the long term, anyway.  It's fine for kernel
  * programming, but performance is not the #1 priority for this
  * library, and I really don't like the tradeoff of type-safety for
index c46a33254b40e49d881d02da916cb06684bde7ff..dea4081d023ac6751225f971d78a84f7f161c60b 100644 (file)
@@ -663,7 +663,7 @@ struct btrfs_dev_item {
 
        /*
         * starting byte of this partition on the device,
-        * to allowr for stripe alignment in the future
+        * to allow for stripe alignment in the future
         */
        __u64 start_offset;
 
index 1eae7df72bef23dfceb6526d4d888a791a8bcb86..e88ebc462656073b216176318d573f2744c1460c 100644 (file)
@@ -261,7 +261,7 @@ errout:
  *
  * These routines do not expose the list.h implementation, which are a
  * contamination of the namespace, and which force us to reveal far, far
- * too much of our internal implemenation.  I'm not convinced I want
+ * too much of our internal implementation.  I'm not convinced I want
  * to keep list.h in the long term, anyway.  It's fine for kernel
  * programming, but performance is not the #1 priority for this
  * library, and I really don't like the tradeoff of type-safety for
index 2cceb54c09eae580588dddc6c66ed673b7cb1f50..a4ed53543f33db246525bbb17e1aa1f94f92eedb 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * com_right.c -- provide Heimdall / Kerberos4kth com_err interfaces
- *     for backwards compatbility
+ *     for backwards compatibility
  *
  * Copyright (c) 2003 by Theodore Ts'o
  *
index cf2c045f2e4a1059edc0c440e6ecc22e9655ab95..f84ea83ee77af6d803f673af6741224c7d105365 100644 (file)
@@ -5,7 +5,7 @@ top_builddir = ../..
 my_dir = lib/ext2fs
 INSTALL = @INSTALL@
 DEPEND_CFLAGS = -I$(top_srcdir)/debugfs -I$(srcdir)/../../e2fsck -DDEBUGFS
-# This nastyness is needed because of jfs_user.h hackery; when we finally
+# This nastiness is needed because of jfs_user.h hackery; when we finally
 # clean up this mess, we should be able to drop it
 DEBUGFS_CFLAGS = -I$(srcdir)/../../e2fsck $(ALL_CFLAGS) -DDEBUGFS
 
index 0a3663040319129e7bc02c6fa81d8191c844dc59..971a6ceb58306fb11a913a264c8afaf70c384fe2 100644 (file)
@@ -33,7 +33,7 @@
  * This routine searches for free blocks that can allocate a full
  * group of bitmaps or inode tables for a flexbg group.  Returns the
  * block number with a correct offset were the bitmaps and inode
- * tables can be allocated continously and in order.
+ * tables can be allocated continuously and in order.
  */
 static blk64_t flexbg_offset(ext2_filsys fs, dgrp_t group, blk64_t start_blk,
                             ext2fs_block_bitmap bmap, int rem_grp,
index b0e114bb9cc190feeb22a77678c5ab63736c8a5f..11f10ebcd7a78c9892c3a678249f15493ae080ae 100644 (file)
@@ -96,7 +96,7 @@ errcode_t ext2fs_update_bb_inode(ext2_filsys fs, ext2_badblocks_list bb_list)
         * Now set the bad blocks!
         *
         * First, mark the bad blocks as used.  This prevents a bad
-        * block from being used as an indirecto block for the bad
+        * block from being used as an indirect block for the bad
         * block inode (!).
         */
        if (bb_list) {
index 833d1e97665e34d0b8f55c4e111fba7a325237dd..c4a1d4e095d1face8ccf600555032e83d158eab2 100644 (file)
@@ -24,7 +24,7 @@
 /*
  * For the benefit of those who are trying to port Linux to another
  * architecture, here are some C-language equivalents.  You should
- * recode these in the native assmebly language, if at all possible.
+ * recode these in the native assembly language, if at all possible.
  *
  * C language equivalents written by Theodore Ts'o, 9/26/92.
  * Modified by Pete A. Zaitcev 7/14/95 to be portable to big endian
index 448318c741f3d30c7f930197e90b6da8e4df54c9..6fc245fda08eb5711aa3ae52e20aeda8a3ce5262 100644 (file)
@@ -552,7 +552,7 @@ static int rb_remove_extent(__u64 start, __u64 count,
                        retval = 1;
                        continue;
                } else {
-                       /* modify the last extent in reigon to be removed */
+                       /* modify the last extent in region to be removed */
                        ext->count -= ((start + count) - ext->start);
                        ext->start = start + count;
                        retval = 1;
index 27a7d3a79ad16a8191209a8345772412a8b7de6a..637fab20fe5166bcb135e7e55dd026e1f26af774 100644 (file)
@@ -970,7 +970,7 @@ struct ext2_dir_entry {
  * bigger than 255 chars, it's safe to reclaim the extra byte for the
  * file_type field.
  *
- * This structure is deprecated due to endianity issues. Please use struct
+ * This structure is deprecated due to endian issues. Please use struct
  * ext2_dir_entry and accessor functions
  *   ext2fs_dirent_name_len
  *   ext2fs_dirent_set_name_len
@@ -1048,7 +1048,7 @@ struct ext2_dir_entry_tail {
  * regardless of how old the timestamp is.
  *
  * The timestamp in the MMP structure will be updated by e2fsck at some
- * arbitary intervals (start of passes, after every few groups of inodes
+ * arbitrary intervals (start of passes, after every few groups of inodes
  * in pass1 and pass1b).  There is no guarantee that e2fsck is updating
  * the MMP block in a timely manner, and the updates it does are purely
  * for the convenience of the sysadmin and not for automatic validation.
index 68d0e2a577f0d57a9abf7590e5b1e8536272a560..6c6287b69e48f181dd344e98953636792174c628 100644 (file)
@@ -326,7 +326,7 @@ struct struct_ext2_filsys {
  *
  * BLOCK_FLAG_DEPTH_TRAVERSE 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.
+ * all of the blocks contained in the indirect blocks are processed.
  * This is useful if you are going to be deallocating blocks from an
  * inode.
  *
@@ -409,7 +409,7 @@ typedef struct ext2_extent_path *ext2_extent_path_t;
 /*
  * Flags used by ext2fs_extent_delete()
  */
-#define EXT2_EXTENT_DELETE_KEEP_EMPTY  0x001 /* keep node if last extnt gone */
+#define EXT2_EXTENT_DELETE_KEEP_EMPTY  0x001 /* keep node if last extent gone */
 
 /*
  * Flags used by ext2fs_extent_set_bmap()
index f73a3321877f2be7f0b27fab36ba026eea3857f1..309fbc8c00df8dbe575621f0ed9b7c4dfe7770bb 100644 (file)
@@ -59,7 +59,7 @@ struct ext3_extent_header {
        __le16  eh_magic;       /* probably will support different formats */
        __le16  eh_entries;     /* number of valid entries */
        __le16  eh_max;         /* capacity of store in entries */
-       __le16  eh_depth;       /* has tree real underlaying blocks? */
+       __le16  eh_depth;       /* has tree real underlying blocks? */
        __le32  eh_generation;  /* generation of the tree */
 };
 
index 4c9c765530aef9a0af96f1ef5b02887327c0e70d..8cfaf6e64458bd330f92b621b39e21f6cee2901a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * get_pathname.c --- do directry/inode -> name translation
+ * get_pathname.c --- do directory/inode -> name translation
  *
  * Copyright (C) 1993, 1994, 1995 Theodore Ts'o.
  *
index 457300d9343b57a9e3afa28b92f7cbd35dca90d3..e3ae2e84ec502d6dc30db8bf16c42c5b7dba3362 100644 (file)
@@ -321,7 +321,7 @@ static errcode_t ext2fs_inline_data_convert_dir(ext2_filsys fs, ext2_ino_t ino,
        dir->name[1] = '.';
 
        /*
-        * Ajust the last rec_len
+        * Adjust the last rec_len
         */
        offset = EXT2_DIR_REC_LEN(1) + EXT2_DIR_REC_LEN(2);
        dir = (struct ext2_dir_entry *) (bbuf + offset);
index 8dc9ac0d9e71ed1f734de02eb81b034239e07124..ad01a9fc5c3ec6aab04720fe34ffbc5a67cd23ee 100644 (file)
@@ -151,7 +151,7 @@ errcode_t ext2fs_open_inode_scan(ext2_filsys fs, int buffer_blocks,
         */
        if (fs->badblocks == 0) {
                /*
-                * Temporarly save fs->get_blocks and set it to zero,
+                * Temporarily save fs->get_blocks and set it to zero,
                 * for compatibility with old e2fsck's.
                 */
                save_get_blocks = fs->get_blocks;
index f0d16ae030b4a10f84b4308a5c051d56b1bf7089..234f6b1724a784f5d82e94ce2f62aa4aa7e5fb63 100644 (file)
@@ -378,7 +378,7 @@ _MapNtStatus(
 
 
 //
-// Helper functions to make things easyer
+// Helper functions to make things easier
 //
 
 static
@@ -398,7 +398,7 @@ _OpenNtName(
        IO_STATUS_BLOCK IoStatusBlock;
 
        //
-       // Make Unicode name from inlut string
+       // Make Unicode name from input string
        //
 
        UnicodeString.Buffer = &Buffer[0];
@@ -411,7 +411,7 @@ _OpenNtName(
 
        if(!NT_SUCCESS(Status))
        {
-               return Status; // Unpappable character?
+               return Status; // Unmappable character?
        }
 
        //
@@ -673,7 +673,7 @@ _NormalizeDeviceName(
        else if('f' == *Device)
        {
                //
-               // 3-d letted should be a digit.
+               // 3-d letter should be a digit.
                //
 
                if((*(Device + 3) != '\0') ||
index b767a90b09f2d4294416aaf34d415d06e56bd41a..1973b820bc489dfaa9e1458d593b56a27a104056 100644 (file)
@@ -19,7 +19,7 @@
   linux/include/linux/rbtree.h
 
   To use rbtrees you'll have to implement your own insert and search cores.
-  This will avoid us to use callbacks and to drop drammatically performances.
+  This will avoid us to use callbacks and to drop dramatically performances.
   I know it's not the cleaner way,  but in C (not in C++) to get
   performances and genericity...
 
index eaa9cf87d9e95fade485a14c95cf839565951077..6bcf01e13b38421acf57654d9c269b4f197b3e40 100644 (file)
@@ -104,7 +104,7 @@ errcode_t ext2fs_create_resize_inode(ext2_filsys fs)
        if (fs->blocksize == 1024 && sb_blk == 0)
                sb_blk = 1;
 
-       /* Maximum possible file size (we donly use the dindirect blocks) */
+       /* Maximum possible file size (we only use double indirect blocks) */
        apb = EXT2_ADDR_PER_BLOCK(sb);
        if ((dindir_blk = inode.i_block[EXT2_DIND_BLOCK])) {
 #ifdef RES_GDT_DEBUG
index b36c48583970385c32df6ec2b8e82e89c402e0bd..9c1dd31dcd6088365534fecd630728473f5b4ef6 100644 (file)
@@ -712,7 +712,7 @@ int tdb_lockall_unmark(struct tdb_context *tdb)
        return _tdb_unlockall(tdb, F_WRLCK | TDB_MARK_LOCK);
 }
 
-/* lock entire database with write lock - nonblocking varient */
+/* lock entire database with write lock - nonblocking variant */
 int tdb_lockall_nonblock(struct tdb_context *tdb)
 {
        return _tdb_lockall(tdb, F_WRLCK, F_SETLK);
@@ -730,7 +730,7 @@ int tdb_lockall_read(struct tdb_context *tdb)
        return _tdb_lockall(tdb, F_RDLCK, F_SETLKW);
 }
 
-/* lock entire database with read lock - nonblock varient */
+/* lock entire database with read lock - nonblock variant */
 int tdb_lockall_read_nonblock(struct tdb_context *tdb)
 {
        return _tdb_lockall(tdb, F_RDLCK, F_SETLK);
@@ -1276,7 +1276,7 @@ void tdb_io_init(struct tdb_context *tdb)
     although once a transaction is started then an exclusive lock is
     gained until the transaction is committed or cancelled
 
-  - the commit stategy involves first saving away all modified data
+  - the commit strategy involves first saving away all modified data
     into a linearised buffer in the transaction recovery area, then
     marking the transaction recovery area with a magic value to
     indicate a valid recovery record. In total 4 fsync/msync calls are
@@ -2323,7 +2323,7 @@ static int update_tailer(struct tdb_context *tdb, tdb_off_t offset,
 }
 
 /* Add an element into the freelist. Merge adjacent records if
-   neccessary. */
+   necessary. */
 int tdb_free(struct tdb_context *tdb, tdb_off_t offset, struct list_struct *rec)
 {
        tdb_off_t right, left;
@@ -2674,7 +2674,7 @@ static int tdb_next_lock(struct tdb_context *tdb, struct tdb_traverse_lock *tloc
                           that we have done at least one fcntl lock at the
                           start of a search to guarantee that memory is
                           coherent on SMP systems. If records are added by
-                          others during the search then thats OK, and we
+                          others during the search then that's OK, and we
                           could possibly miss those with this trick, but we
                           could miss them anyway without this trick, so the
                           semantics don't change.
@@ -2762,7 +2762,7 @@ static int tdb_traverse_internal(struct tdb_context *tdb,
        struct list_struct rec;
        int ret, count = 0;
 
-       /* This was in the initializaton, above, but the IRIX compiler
+       /* This was in the initialization, above, but the IRIX compiler
         * did not like it.  crh
         */
        tl->next = tdb->travlocks.next;
@@ -4051,7 +4051,7 @@ int tdb_close(struct tdb_context *tdb)
        return ret;
 }
 
-/* register a loging function */
+/* register a logging function */
 void tdb_set_logging_function(struct tdb_context *tdb,
                               const struct tdb_logging_context *log_ctx)
 {
index 776d5b8b9034daf1eeaed5acd78f204d25b7fbc2..1986241453e062d44ec88f6a914317bc60060736 100644 (file)
@@ -381,7 +381,7 @@ static errcode_t undo_write_tdb(io_channel channel,
                 * Read one block using the backing I/O manager
                 * The backing I/O manager block size may be
                 * different from the tdb_data_size.
-                * Also we need to recalcuate the block number with respect
+                * Also we need to recalculate the block number with respect
                 * to the backing I/O manager.
                 */
                offset = block_num * data->tdb_data_size +
index 8d6452bee8ec8cf8558f2c82e7e27c88ede6f4c5..9e5eebbe831718b38b2e51666059c06898312757 100644 (file)
@@ -25,7 +25,7 @@
 # an awk script to parse.
 
 #
-# The first section of this script is just to cannoicalize the file.  
+# The first section of this script is just to canonicalize the file.  
 # It removes comments, and puts each command_table request onto a single
 # line
 #
@@ -41,7 +41,7 @@ bFIRST
 }
 s/, */, /g
 #
-# Now we take care of some syntatic sugar.....
+# Now we take care of some syntactic sugar.....
 #
 /^unimplemented/ {
        s/^unimplemented [A-Za-z_0-9]*/request ss_unimplemented/
index ae9a2d9d75f317bd167a37e1a450d4d4c4f2337c..9e96673b221dc4e82aabb47ba3375e4041331876 100644 (file)
@@ -1112,7 +1112,7 @@ errcode_t profile_create_node(const char *name, const char *value,
 }
 
 /*
- * This function verifies that all of the representation invarients of
+ * This function verifies that all of the representation invariants of
  * the profile are true.  If not, we have a programming bug somewhere,
  * probably in this file.
  */
index b8623268644567fa3db25289f554cded02ba18fc..d7d6f15e84d0a956c3c7286edd72cec8845302d0 100644 (file)
@@ -179,7 +179,7 @@ cleanup_iterator:
 }
 
 /*
- * This function will return the list of the names of subections in the
+ * This function will return the list of the names of subsections in the
  * under the specified section name.
  */
 errcode_t
index f89536eba42f27398c4bfff43749ab2d1c51f9f9..6068970009f5c46fe26bafb043607e222ea4cdc0 100644 (file)
@@ -243,7 +243,7 @@ int parse_quota_types(const char *in_str, unsigned int *qtype_bits,
  * Return pointer to reserved inode field in superblock for given quota type.
  *
  * This allows the caller to get or set the quota inode by type without the
- * need for the quota array to be contiguous in the superbock.
+ * need for the quota array to be contiguous in the superblock.
  */
 static inline ext2_ino_t *quota_sb_inump(struct ext2_super_block *sb,
                                         enum quota_type qtype)
index 0db0ca1e2ca9bf39aca34f9bcd10f22e22b266a3..b0b7257f9db5f6c1fcc7408a0b7b6181530cc4d0 100644 (file)
@@ -42,7 +42,7 @@ struct qtree_fmt_operations {
        int (*is_id)(void *disk, struct dquot *dquot);
 };
 
-/* Inmemory copy of version specific information */
+/* In-memory copy of version specific information */
 struct qtree_mem_dqinfo {
        unsigned int dqi_blocks;        /* # of blocks in quota file */
        unsigned int dqi_free_blk;      /* First block in list of free blocks */
index 79a40507a7d8ab0e9f8ae742c81f2ef6f13aabdb..9a9a9775a7e47952fa0ec851a41dde54be60c767 100644 (file)
@@ -64,7 +64,7 @@ NtCurrentTeb(void);
 
 //
 // The only way to get version information from the system is to examine
-// one stored in PEB. But it's pretty dangerouse because this value could
+// one stored in PEB. But it's pretty dangerous because this value could
 // be altered in image header.
 //
 
index a309aaaac7ba9c4d5be28efcd4430c7be8aec61f..5a0f16f5c3485c846a15e8540688d70bef1da9d3 100644 (file)
@@ -118,7 +118,7 @@ DEPLIBS_E2P= $(LIBE2P) $(DEPLIBCOM_ERR)
 
 COMPILE_ET=    _ET_DIR_OVERRIDE=$(srcdir)/../lib/et/et ../lib/et/compile_et
 
-# This nastyness is needed because of jfs_user.h hackery; when we finally
+# This nastiness is needed because of jfs_user.h hackery; when we finally
 # clean up this mess, we should be able to drop it
 JOURNAL_CFLAGS = -I$(srcdir)/../e2fsck $(ALL_CFLAGS) -DDEBUGFS
 DEPEND_CFLAGS = -I$(top_srcdir)/e2fsck
index 8ce3fafaacc32ef33a4653c86649e573cc136275..73dd2f215f89e38e2dce08a72814bf947df9f095 100644 (file)
@@ -33,7 +33,7 @@
 #include "create_inode.h"
 #include "support/nls-enable.h"
 
-/* 64KiB is the minimium blksize to best minimize system call overhead. */
+/* 64KiB is the minimum blksize to best minimize system call overhead. */
 #define COPY_FILE_BUFLEN       65536
 
 static int ext2_file_type(unsigned int mode)
index 030f9cbe38a9375a624495030096b009139587ca..be001f0f99a742fc186b6fd7dead8b30a50a9b20 100644 (file)
@@ -1109,7 +1109,7 @@ static int update_refcount(int fd, struct ext2_qcow2_image *img,
        /*
         * We are relying on the fact that we are creating the qcow2
         * image sequentially, hence we will always allocate refcount
-        * block items sequentialy.
+        * block items sequentially.
         */
        ref->refcount_block[ref->refcount_block_index] = ext2fs_cpu_to_be16(1);
        ref->refcount_block_index++;
index 600d0b7af6af3485176cba3ef0324fdee24e68fd..7b65d14541ea1ae4d10b45099f803c8c513fb64a 100644 (file)
@@ -578,7 +578,7 @@ static void insert_key_into_keyring(const char *keyring, struct salt *salt)
         * We need to do this instead of simply adding the key to
         * KEY_SPEC_SESSION_KEYRING since trying to add a key to a
         * session keyring that does not yet exist will cause the
-        * kernel to create a session keyring --- which wil then get
+        * kernel to create a session keyring --- which will then get
         * garbage collected as soon as e4crypt exits.
         *
         * The fact that the keyctl system call and the add_key system
index 5fa85b66c529922f6e036ac3e226c38d4bd6ed6b..d63343e943e10c88d21587c98eab178a2ac430ff 100644 (file)
@@ -1016,7 +1016,7 @@ static int get_best_count(ext4_fsblk_t block_count)
        int ret;
        unsigned int flex_bg_num;
 
-       /* Calcuate best extents count */
+       /* Calculate best extents count */
        if (feature_incompat & EXT4_FEATURE_INCOMPAT_FLEX_BG) {
                flex_bg_num = 1 << log_groups_per_flex;
                ret = ((block_count - 1) /
@@ -1580,7 +1580,7 @@ static int file_defrag(const char *file, const struct stat64 *buf,
                goto out;
        }
 
-       /* Calcuate donor inode's continuous physical region */
+       /* Calculate donor inode's continuous physical region */
        donor_physical_cnt = get_physical_count(donor_list_physical);
 
        /* Change donor extent list from physical to logical */
index 47aa43af254d03e00b13cba2dcc84e86b46567cd..ff20b98853776ba436372dac2bf9499e43444df5 100644 (file)
@@ -30,7 +30,7 @@
  *   findsuper /dev/hda
  *   findsuper /dev/hda 437760 1024   (my disk has cyls of 855*512)
  *
- * I suppose the next step is to figgure out a way to determine if
+ * I suppose the next step is to figure out a way to determine if
  * the block found is the first superblock somehow, and if so, build
  * a partition table from the superblocks found... but this is still
  * useful as is.
@@ -75,7 +75,7 @@
  * For new systems that have a block group number in the superblock it
  * is immediately clear which superblock is the first of a partition.
  * For old systems where no group numbers are given, the first
- * superblock can be recognised by the timestamp: all superblock
+ * superblock can be recognized by the timestamp: all superblock
  * copies have the creation time in s_mtime, except the first, which
  * has the last time e2fsck or tune2fs wrote to the filesystem.
  *
index 7c93ee8286fb3a5571598baa4dd622e53d022bbc..de5ae256d017d79536fbd2973c21b837e0c13166 100644 (file)
@@ -997,7 +997,7 @@ static int check_all(NOARGS)
        }
        /*
         * This is for the bone-headed user who enters the root
-        * filesystem twice.  Skip root will skep all root entries.
+        * filesystem twice.  Skip root will skip all root entries.
         */
        if (skip_root)
                for (fs = filesys_info; fs; fs = fs->next)
index 8a0f70e325b5f7e25178f0cd26b1d94829938be8..8a55fbd614edee93a52723e4b91904728fa0a7c9 100644 (file)
@@ -34,7 +34,7 @@
 #define EXIT_LIBRARY     128
 
 /*
- * Internal structure for mount tabel entries.
+ * Internal structure for mount table entries.
  */
 
 struct fs_info {
index 6a624deab19c26fb5a692f0d68a1b4a77ddf8153..96b6d8e001bbd420523fe55d5d5508b81a28e2be 100644 (file)
@@ -52,7 +52,7 @@ static void usage(char *progname)
 
 /*
  * Helper function that does the right thing if write returns a
- * partial write, or an EGAIN/EINTR error.
+ * partial write, or an EAGAIN/EINTR error.
  */
 static int write_all(int fd, const char *buf, size_t count)
 {
index 7b7e431ee95ddca0a9a753090e8d48aa4fc5fe33..f31c8322e86ec069eeb35d99cf14efb65a2314e6 100644 (file)
@@ -14,8 +14,8 @@
 extern "C" {
 #endif
 
-/* Takes exactly the same args as the tune2fs exectuable.
- * Is the entrypoint for libtune2fs.
+/* Takes exactly the same args as the tune2fs executable.
+ * Is the entry point for libtune2fs.
  */
 int tune2fs_main(int argc, char **argv);
 
index ec81b944e94a4da0112ea41985046a15d7d3ea69..e5ca16c0a954bec313f4a242b9944004830abb93 100644 (file)
@@ -8,7 +8,7 @@
  * Copyright (C) 1997, 1998 by Theodore Ts'o and
  *     PowerQuest, Inc.
  *
- * Copyright (C) 1999, 2000 by Theosore Ts'o
+ * Copyright (C) 1999, 2000 by Theodore Ts'o
  *
  * %Begin-Header%
  * This file may be redistributed under the terms of the GNU Public
index ab7375c172af4ecaf944b13805991afd3bd6610e..ba6bb6b18063b7d89227c9ba71a60e50b3552420 100644 (file)
@@ -422,7 +422,7 @@ int main (int argc, char ** argv)
         * unless the user is forcing it.
         *
         * We do ERROR and VALID checks even if we're only printing the
-        * minimimum size, because traversal of a badly damaged filesystem
+        * minimum size, because traversal of a badly damaged filesystem
         * can cause issues as well.  We don't require it to be fscked after
         * the last mount time in this case, though, as this is a bit less
         * risky.
index 9a4d828c2b292469f9500bc8f1f845198802bba2..f0c214b142f00fdabb5834567fd2697157281abd 100644 (file)
@@ -201,7 +201,7 @@ errcode_t online_resize_fs(ext2_filsys fs, const char *mtpt,
        }
 
        /* The current method of adding one block group at a time to a
-        * mounted filesystem means it is impossible to accomodate the
+        * mounted filesystem means it is impossible to accommodate the
         * flex_bg allocation method of placing the metadata together
         * in a single block group.  For now we "fix" this issue by
         * using the traditional layout for new block groups, where
index 8f6d95e76dc8632890c9b6e4aea0ac4ca13902b1..bedeb102393a7fc81c0a989184bc31e85de2233c 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 1997, 1998 by Theodore Ts'o and
  *     PowerQuest, Inc.
  *
- * Copyright (C) 1999, 2000 by Theosore Ts'o
+ * Copyright (C) 1999, 2000 by Theodore Ts'o
  *
  * %Begin-Header%
  * This file may be redistributed under the terms of the GNU Public
@@ -80,7 +80,7 @@ static int is_inode_tb(ext2_filsys fs, unsigned int grp, blk64_t blk)
                      fs->inode_blocks_per_group);
 }
 
-/* Some bigalloc helper macros which are more succint... */
+/* Some bigalloc helper macros which are more succinct... */
 #define B2C(x) EXT2FS_B2C(fs, (x))
 #define C2B(x) EXT2FS_C2B(fs, (x))
 #define EQ_CLSTR(x, y) (B2C(x) == B2C(y))
@@ -578,7 +578,7 @@ out:
 }
 
 /*
- * Clean up the bitmaps for unitialized bitmaps
+ * Clean up the bitmaps for uninitialized bitmaps
  */
 static void fix_uninit_block_bitmaps(ext2_filsys fs)
 {
@@ -932,7 +932,7 @@ retry:
        /*
         * If we changed the number of block_group descriptor blocks,
         * we need to make sure they are all marked as reserved in the
-        * file systems's block allocation map.
+        * filesystem's block allocation map.
         */
        for (i = 0; i < old_fs->group_desc_count; i++)
                ext2fs_reserve_super_and_bgd(fs, i, fs->block_map);
@@ -1503,7 +1503,7 @@ static errcode_t blocks_to_move(ext2_resize_t rfs)
 
                /*
                 * For those structures that have changed, we need to
-                * do bookkeepping.
+                * do bookkeeping.
                 */
                if (ext2fs_block_bitmap_loc(old_fs, i) !=
                    (blk = ext2fs_block_bitmap_loc(fs, i))) {
@@ -2783,7 +2783,7 @@ static int calc_group_overhead(ext2_filsys fs, blk64_t grp,
 
 
 /*
- * calcluate the minimum number of blocks the given fs can be resized to
+ * calculate the minimum number of blocks the given fs can be resized to
  */
 blk64_t calculate_minimum_resize_size(ext2_filsys fs, int flags)
 {
@@ -2876,7 +2876,7 @@ blk64_t calculate_minimum_resize_size(ext2_filsys fs, int flags)
 #endif
 
        /*
-        * if we need more group descriptors in order to accomodate our data
+        * if we need more group descriptors in order to accommodate our data
         * then we need to add them here
         */
        blks_needed = data_needed;
index 829fcd8ea8e164fddebd2fb2d4d2c9fe254df8e0..f9f58f207f22fc8906b6d146bb5eccc851586359 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 1997, 1998 by Theodore Ts'o and
  *     PowerQuest, Inc.
  *
- * Copyright (C) 1999, 2000 by Theosore Ts'o
+ * Copyright (C) 1999, 2000 by Theodore Ts'o
  *
  * %Begin-Header%
  * This file may be redistributed under the terms of the GNU Public
index d4206ba2814afee7717aed116ffd5eaaa7e38d0b..321becdf13b498a6c95ccd3ff2be23d9e064ed20 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 1997, 1998 by Theodore Ts'o and
  *     PowerQuest, Inc.
  *
- * Copyright (C) 1999, 2000 by Theosore Ts'o
+ * Copyright (C) 1999, 2000 by Theodore Ts'o
  *
  * %Begin-Header%
  * This file may be redistributed under the terms of the GNU Public
index 60aa08f3577e6b9a67784d9ef605b150df2ffa6e..5e9aed79d5dbb23ce15980271b2c870d3a7a15ff 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 1997, 1998 by Theodore Ts'o and
  *     PowerQuest, Inc.
  *
- * Copyright (C) 1999, 2000 by Theosore Ts'o
+ * Copyright (C) 1999, 2000 by Theodore Ts'o
  *
  * %Begin-Header%
  * This file may be redistributed under the terms of the GNU Public
index a3a02cef7f60dbdae7e2ce85eda58607b7bad0bd..6b90acb63e3df585e59846142206d66241d8c352 100644 (file)
@@ -12,7 +12,7 @@ GZIP=gzip
 
 #
 # This hack is needed because texi2dvi blows up horribly if there are 
-# any '~' chracters in the directory pathname.  So we kludge around it by
+# any '~' characters in the directory pathname.  So we kludge around it by
 # using a non-standard directory name for WIP releases.  dpkg-source
 # complains, but life goes on.
 #
index e745d8631e0b6acfa14608cbaa6476d17460420d..b37633d2e916eab293a98d56217518b0edb5c859 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * subst.c --- substitution program
  *
- * Subst is used as a quicky program to do @ substitutions
+ * Subst is used as a quickie program to do @ substitutions
  *
  */
 
index 600effac4d9845ae0928c2aa0e802f32cf6cf142..e9d2b011dad2fdbdd3d7371fa6f9e0d36cda8abb 100644 (file)
@@ -126,7 +126,7 @@ static int shorten_path (char *path, char *abspath)
 
        /* get rid of unnecessary "../dir" sequences */
        while (abspath && strlen(abspath) > 1 && (p = strstr(path,"../"))) {
-               /* find innermost occurance of "../dir", and save "dir" */
+               /* find innermost occurrence of "../dir", and save "dir" */
                int slashes = 2;
                char *a, *s, *d = dir;
                while ((s = strstr(p+3, "../"))) {