exfat: fix typos in comments
authorChristophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Tue, 2 Nov 2021 21:23:56 +0000 (22:23 +0100)
committerNamjae Jeon <linkinjeon@kernel.org>
Mon, 10 Jan 2022 02:00:01 +0000 (11:00 +0900)
Fix typos in comments.

Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/dir.c
fs/exfat/inode.c

index cb1c0d8..ac14055 100644 (file)
@@ -892,7 +892,7 @@ struct exfat_entry_set_cache *exfat_get_dentry_set(struct super_block *sb,
                es->bh[es->num_bh++] = bh;
        }
 
-       /* validiate cached dentries */
+       /* validate cached dentries */
        for (i = 1; i < num_entries; i++) {
                ep = exfat_get_dentry_cached(es, i);
                if (!exfat_validate_entry(exfat_get_entry_type(ep), &mode))
index 1c7aa1e..98292b3 100644 (file)
@@ -31,7 +31,7 @@ static int __exfat_write_inode(struct inode *inode, int sync)
                return 0;
 
        /*
-        * If the indode is already unlinked, there is no need for updating it.
+        * If the inode is already unlinked, there is no need for updating it.
         */
        if (ei->dir.dir == DIR_DELETED)
                return 0;