exfat: fix misspellings using codespell tool
authorNamjae Jeon <namjae.jeon@samsung.com>
Fri, 14 Aug 2020 02:03:46 +0000 (11:03 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Wed, 21 Oct 2020 23:29:10 +0000 (08:29 +0900)
Sedat reported typos using codespell tool.

 $ codespell fs/exfat/*.c | grep -v iput
 fs/exfat/namei.c:293: upto ==> up to
 fs/exfat/nls.c:14: tabel ==> table

 $ codespell fs/exfat/*.h
 fs/exfat/exfat_fs.h:133: usally ==> usually

Fix typos found by codespell.

Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
fs/exfat/exfat_fs.h
fs/exfat/namei.c
fs/exfat/nls.c

index c013fe9..49af036 100644 (file)
@@ -128,7 +128,7 @@ enum {
 
 struct exfat_dentry_namebuf {
        char *lfn;
-       int lfnbuf_len; /* usally MAX_UNINAME_BUF_SIZE */
+       int lfnbuf_len; /* usually MAX_UNINAME_BUF_SIZE */
 };
 
 /* unicode name structure */
index c94ac23..0b12033 100644 (file)
@@ -290,7 +290,7 @@ static int exfat_check_max_dentries(struct inode *inode)
 {
        if (EXFAT_B_TO_DEN(i_size_read(inode)) >= MAX_EXFAT_DENTRIES) {
                /*
-                * exFAT spec allows a dir to grow upto 8388608(256MB)
+                * exFAT spec allows a dir to grow up to 8388608(256MB)
                 * dentries
                 */
                return -ENOSPC;
index a3c9275..675d0e7 100644 (file)
@@ -11,7 +11,7 @@
 #include "exfat_raw.h"
 #include "exfat_fs.h"
 
-/* Upcase tabel macro */
+/* Upcase table macro */
 #define EXFAT_NUM_UPCASE       (2918)
 #define UTBL_COUNT             (0x10000)