|
Kmods SIG |
8b815c |
From f8d87ed9f0d546ac5b05e8e7d2b148d4b77599fa Mon Sep 17 00:00:00 2001
|
|
Kmods SIG |
8b815c |
From: Colin Ian King <colin.king@canonical.com>
|
|
Kmods SIG |
8b815c |
Date: Mon, 16 Aug 2021 11:13:08 +0100
|
|
Kmods SIG |
8b815c |
Subject: [Backport f8d87ed9f0d5] src: Fix various spelling mistakes
|
|
Kmods SIG |
8b815c |
|
|
Kmods SIG |
8b815c |
There is a spelling mistake in a ntfs_err error message. Also
|
|
Kmods SIG |
8b815c |
fix various spelling mistakes in comments.
|
|
Kmods SIG |
8b815c |
|
|
Kmods SIG |
8b815c |
Signed-off-by: Colin Ian King <colin.king@canonical.com>
|
|
Kmods SIG |
8b815c |
Reviewed-by: Kari Argillander <kari.argillander@gmail.com>
|
|
Kmods SIG |
8b815c |
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
|
|
Kmods SIG |
8b815c |
---
|
|
Kmods SIG |
8b815c |
src/debug.h | 2 +-
|
|
Kmods SIG |
8b815c |
src/lib/decompress_common.c | 2 +-
|
|
Kmods SIG |
8b815c |
src/run.c | 2 +-
|
|
Kmods SIG |
8b815c |
src/super.c | 4 ++--
|
|
Kmods SIG |
8b815c |
src/upcase.c | 2 +-
|
|
Kmods SIG |
8b815c |
5 files changed, 6 insertions(+), 6 deletions(-)
|
|
Kmods SIG |
8b815c |
|
|
Kmods SIG |
8b815c |
diff --git a/src/debug.h b/src/debug.h
|
|
Kmods SIG |
8b815c |
index dfaa4c79dc6d86677b0b3de5c98a54a23ef637d6..15ac42185e5b39525ec7ead599975946d9d0b679 100644
|
|
Kmods SIG |
8b815c |
--- a/src/debug.h
|
|
Kmods SIG |
8b815c |
+++ b/src/debug.h
|
|
Kmods SIG |
8b815c |
@@ -3,7 +3,7 @@
|
|
Kmods SIG |
8b815c |
*
|
|
Kmods SIG |
8b815c |
* Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved.
|
|
Kmods SIG |
8b815c |
*
|
|
Kmods SIG |
8b815c |
- * useful functions for debuging
|
|
Kmods SIG |
8b815c |
+ * useful functions for debugging
|
|
Kmods SIG |
8b815c |
*/
|
|
Kmods SIG |
8b815c |
|
|
Kmods SIG |
8b815c |
// clang-format off
|
|
Kmods SIG |
8b815c |
diff --git a/src/lib/decompress_common.c b/src/lib/decompress_common.c
|
|
Kmods SIG |
8b815c |
index 83c9e93aea77e437b5b1889b49272eee64d4df64..850d8e8c8f1fc75aa46e8f236b0c682daaf30d8f 100644
|
|
Kmods SIG |
8b815c |
--- a/src/lib/decompress_common.c
|
|
Kmods SIG |
8b815c |
+++ b/src/lib/decompress_common.c
|
|
Kmods SIG |
8b815c |
@@ -292,7 +292,7 @@ int make_huffman_decode_table(u16 decode_table[], const u32 num_syms,
|
|
Kmods SIG |
8b815c |
* of as simply the root of the tree. The
|
|
Kmods SIG |
8b815c |
* representation of these internal nodes is
|
|
Kmods SIG |
8b815c |
* simply the index of the left child combined
|
|
Kmods SIG |
8b815c |
- * with the special bits 0xC000 to distingush
|
|
Kmods SIG |
8b815c |
+ * with the special bits 0xC000 to distinguish
|
|
Kmods SIG |
8b815c |
* the entry from direct mapping and leaf node
|
|
Kmods SIG |
8b815c |
* entries.
|
|
Kmods SIG |
8b815c |
*/
|
|
Kmods SIG |
8b815c |
diff --git a/src/run.c b/src/run.c
|
|
Kmods SIG |
8b815c |
index 5cdf6efe67e0dbee860ce8462eae8de363ea5671..f9c362ac672e96b9430ab211de4952d6dce7797a 100644
|
|
Kmods SIG |
8b815c |
--- a/src/run.c
|
|
Kmods SIG |
8b815c |
+++ b/src/run.c
|
|
Kmods SIG |
8b815c |
@@ -949,7 +949,7 @@ int run_unpack(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino,
|
|
Kmods SIG |
8b815c |
if (next_vcn > 0x100000000ull || (lcn + len) > 0x100000000ull) {
|
|
Kmods SIG |
8b815c |
ntfs_err(
|
|
Kmods SIG |
8b815c |
sbi->sb,
|
|
Kmods SIG |
8b815c |
- "This driver is compiled whitout CONFIG_NTFS3_64BIT_CLUSTER (like windows driver).\n"
|
|
Kmods SIG |
8b815c |
+ "This driver is compiled without CONFIG_NTFS3_64BIT_CLUSTER (like windows driver).\n"
|
|
Kmods SIG |
8b815c |
"Volume contains 64 bits run: vcn %llx, lcn %llx, len %llx.\n"
|
|
Kmods SIG |
8b815c |
"Activate CONFIG_NTFS3_64BIT_CLUSTER to process this case",
|
|
Kmods SIG |
8b815c |
vcn64, lcn, len);
|
|
Kmods SIG |
8b815c |
diff --git a/src/super.c b/src/super.c
|
|
Kmods SIG |
8b815c |
index 6be13e256c1ad18d21ed5727cf8a1129840e774e..84d4f389f6855091f3dc9be77f50c5e6acf99706 100644
|
|
Kmods SIG |
8b815c |
--- a/src/super.c
|
|
Kmods SIG |
8b815c |
+++ b/src/super.c
|
|
Kmods SIG |
8b815c |
@@ -124,7 +124,7 @@ void ntfs_inode_printk(struct inode *inode, const char *fmt, ...)
|
|
Kmods SIG |
8b815c |
/*
|
|
Kmods SIG |
8b815c |
* Shared memory struct.
|
|
Kmods SIG |
8b815c |
*
|
|
Kmods SIG |
8b815c |
- * on-disk ntfs's upcase table is created by ntfs formater
|
|
Kmods SIG |
8b815c |
+ * on-disk ntfs's upcase table is created by ntfs formatter
|
|
Kmods SIG |
8b815c |
* 'upcase' table is 128K bytes of memory
|
|
Kmods SIG |
8b815c |
* we should read it into memory when mounting
|
|
Kmods SIG |
8b815c |
* Several ntfs volumes likely use the same 'upcase' table
|
|
Kmods SIG |
8b815c |
@@ -1208,7 +1208,7 @@ static int ntfs_fill_super(struct super_block *sb, void *data, int silent)
|
|
Kmods SIG |
8b815c |
sbi->def_entries = 1;
|
|
Kmods SIG |
8b815c |
done = sizeof(struct ATTR_DEF_ENTRY);
|
|
Kmods SIG |
8b815c |
sbi->reparse.max_size = MAXIMUM_REPARSE_DATA_BUFFER_SIZE;
|
|
Kmods SIG |
8b815c |
- sbi->ea_max_size = 0x10000; /* default formater value */
|
|
Kmods SIG |
8b815c |
+ sbi->ea_max_size = 0x10000; /* default formatter value */
|
|
Kmods SIG |
8b815c |
|
|
Kmods SIG |
8b815c |
while (done + sizeof(struct ATTR_DEF_ENTRY) <= bytes) {
|
|
Kmods SIG |
8b815c |
u32 t32 = le32_to_cpu(t->type);
|
|
Kmods SIG |
8b815c |
diff --git a/src/upcase.c b/src/upcase.c
|
|
Kmods SIG |
8b815c |
index 9617382aca64b3ee322f7f769fbff38b8db52dbb..b53943538f9f2525764371ca0d925da295dbb10a 100644
|
|
Kmods SIG |
8b815c |
--- a/src/upcase.c
|
|
Kmods SIG |
8b815c |
+++ b/src/upcase.c
|
|
Kmods SIG |
8b815c |
@@ -27,7 +27,7 @@ static inline u16 upcase_unicode_char(const u16 *upcase, u16 chr)
|
|
Kmods SIG |
8b815c |
/*
|
|
Kmods SIG |
8b815c |
* Thanks Kari Argillander <kari.argillander@gmail.com> for idea and implementation 'bothcase'
|
|
Kmods SIG |
8b815c |
*
|
|
Kmods SIG |
8b815c |
- * Straigth way to compare names:
|
|
Kmods SIG |
8b815c |
+ * Straight way to compare names:
|
|
Kmods SIG |
8b815c |
* - case insensitive
|
|
Kmods SIG |
8b815c |
* - if name equals and 'bothcases' then
|
|
Kmods SIG |
8b815c |
* - case sensitive
|
|
Kmods SIG |
8b815c |
--
|
|
Kmods SIG |
8b815c |
2.31.1
|
|
Kmods SIG |
8b815c |
|