From 9e456aeaacb6b44c5d8f858800d53c1958daad3d Mon Sep 17 00:00:00 2001 From: Namjae Jeon Date: Fri, 14 Aug 2020 11:03:46 +0900 Subject: [Backport 9e456aeaacb6] exfat: fix misspellings using codespell tool Sedat reported typos using codespell tool. $ codespell src/*.c | grep -v iput src/namei.c:293: upto ==> up to src/nls.c:14: tabel ==> table $ codespell src/*.h src/exfat_fs.h:133: usally ==> usually Fix typos found by codespell. Reported-by: Sedat Dilek Signed-off-by: Namjae Jeon --- src/exfat_fs.h | 2 +- src/namei.c | 2 +- src/nls.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/exfat_fs.h b/src/exfat_fs.h index c013fe931d9c17aaed61c75d0d9c41e67cd67907..49af03660d6c31423864e866db70c34df943c691 100644 --- a/src/exfat_fs.h +++ b/src/exfat_fs.h @@ -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 */ diff --git a/src/namei.c b/src/namei.c index c94ac239f740b0bbce1d9a51b9ea6b820c6b7f33..0b12033e15777966a05bdec5492eacd86b262e11 100644 --- a/src/namei.c +++ b/src/namei.c @@ -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; diff --git a/src/nls.c b/src/nls.c index a3c927501e676f3b240eca17106b07a296d99e6f..675d0e7058c5a01afe9bdcba4c915e983184c639 100644 --- a/src/nls.c +++ b/src/nls.c @@ -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) -- 2.31.1