*
  * Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved.
  *
- * useful functions for debuging
+ * useful functions for debugging
  */
 
 // clang-format off
 
                                 * of as simply the root of the tree.  The
                                 * representation of these internal nodes is
                                 * simply the index of the left child combined
-                                * with the special bits 0xC000 to distingush
+                                * with the special bits 0xC000 to distinguish
                                 * the entry from direct mapping and leaf node
                                 * entries.
                                 */
 
                if (next_vcn > 0x100000000ull || (lcn + len) > 0x100000000ull) {
                        ntfs_err(
                                sbi->sb,
-                               "This driver is compiled whitout CONFIG_NTFS3_64BIT_CLUSTER (like windows driver).\n"
+                               "This driver is compiled without CONFIG_NTFS3_64BIT_CLUSTER (like windows driver).\n"
                                "Volume contains 64 bits run: vcn %llx, lcn %llx, len %llx.\n"
                                "Activate CONFIG_NTFS3_64BIT_CLUSTER to process this case",
                                vcn64, lcn, len);
 
 /*
  * Shared memory struct.
  *
- * on-disk ntfs's upcase table is created by ntfs formater
+ * on-disk ntfs's upcase table is created by ntfs formatter
  * 'upcase' table is 128K bytes of memory
  * we should read it into memory when mounting
  * Several ntfs volumes likely use the same 'upcase' table
        sbi->def_entries = 1;
        done = sizeof(struct ATTR_DEF_ENTRY);
        sbi->reparse.max_size = MAXIMUM_REPARSE_DATA_BUFFER_SIZE;
-       sbi->ea_max_size = 0x10000; /* default formater value */
+       sbi->ea_max_size = 0x10000; /* default formatter value */
 
        while (done + sizeof(struct ATTR_DEF_ENTRY) <= bytes) {
                u32 t32 = le32_to_cpu(t->type);
 
 /*
  * Thanks Kari Argillander <kari.argillander@gmail.com> for idea and implementation 'bothcase'
  *
- * Straigth way to compare names:
+ * Straight way to compare names:
  * - case insensitive
  * - if name equals and 'bothcases' then
  * - case sensitive