Commit f8d87ed9 authored by Colin Ian King's avatar Colin Ian King Committed by Konstantin Komarov

fs/ntfs3: Fix various spelling mistakes

There is a spelling mistake in a ntfs_err error message. Also
fix various spelling mistakes in comments.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarKari Argillander <kari.argillander@gmail.com>
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
parent 11e4e66e
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved. * Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved.
* *
* useful functions for debuging * useful functions for debugging
*/ */
// clang-format off // clang-format off
......
...@@ -292,7 +292,7 @@ int make_huffman_decode_table(u16 decode_table[], const u32 num_syms, ...@@ -292,7 +292,7 @@ int make_huffman_decode_table(u16 decode_table[], const u32 num_syms,
* of as simply the root of the tree. The * of as simply the root of the tree. The
* representation of these internal nodes is * representation of these internal nodes is
* simply the index of the left child combined * 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 * the entry from direct mapping and leaf node
* entries. * entries.
*/ */
......
...@@ -949,7 +949,7 @@ int run_unpack(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino, ...@@ -949,7 +949,7 @@ int run_unpack(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino,
if (next_vcn > 0x100000000ull || (lcn + len) > 0x100000000ull) { if (next_vcn > 0x100000000ull || (lcn + len) > 0x100000000ull) {
ntfs_err( ntfs_err(
sbi->sb, 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" "Volume contains 64 bits run: vcn %llx, lcn %llx, len %llx.\n"
"Activate CONFIG_NTFS3_64BIT_CLUSTER to process this case", "Activate CONFIG_NTFS3_64BIT_CLUSTER to process this case",
vcn64, lcn, len); vcn64, lcn, len);
......
...@@ -124,7 +124,7 @@ void ntfs_inode_printk(struct inode *inode, const char *fmt, ...) ...@@ -124,7 +124,7 @@ void ntfs_inode_printk(struct inode *inode, const char *fmt, ...)
/* /*
* Shared memory struct. * 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 * 'upcase' table is 128K bytes of memory
* we should read it into memory when mounting * we should read it into memory when mounting
* Several ntfs volumes likely use the same 'upcase' table * Several ntfs volumes likely use the same 'upcase' table
...@@ -1208,7 +1208,7 @@ static int ntfs_fill_super(struct super_block *sb, void *data, int silent) ...@@ -1208,7 +1208,7 @@ static int ntfs_fill_super(struct super_block *sb, void *data, int silent)
sbi->def_entries = 1; sbi->def_entries = 1;
done = sizeof(struct ATTR_DEF_ENTRY); done = sizeof(struct ATTR_DEF_ENTRY);
sbi->reparse.max_size = MAXIMUM_REPARSE_DATA_BUFFER_SIZE; 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) { while (done + sizeof(struct ATTR_DEF_ENTRY) <= bytes) {
u32 t32 = le32_to_cpu(t->type); u32 t32 = le32_to_cpu(t->type);
......
...@@ -27,7 +27,7 @@ static inline u16 upcase_unicode_char(const u16 *upcase, u16 chr) ...@@ -27,7 +27,7 @@ static inline u16 upcase_unicode_char(const u16 *upcase, u16 chr)
/* /*
* Thanks Kari Argillander <kari.argillander@gmail.com> for idea and implementation 'bothcase' * Thanks Kari Argillander <kari.argillander@gmail.com> for idea and implementation 'bothcase'
* *
* Straigth way to compare names: * Straight way to compare names:
* - case insensitive * - case insensitive
* - if name equals and 'bothcases' then * - if name equals and 'bothcases' then
* - case sensitive * - case sensitive
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment