Skip to contentSkip to conversation

nilfs2: fix typos in comments

PATCH Applied Hemanth Selam 3 participants 3 messages Sep 7 NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nilfs2: fix typos in comments

Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.

Assisted-by Cursor:claude-opus-5
---
 fs/nilfs2/sufile.c | 2 +-
 fs/nilfs2/super.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
fs/nilfs2/sufile.c +1 -1
index eceedca02697..6918be6fce2e 100644
@@ -1050,7 +1050,7 @@ ssize_t nilfs_sufile_set_suinfo(struct inode *sufile, void *buf,
  * len:		number of Bytes to trim from start
  * minlen:	minimum extent length in Bytes
  *
- * Decription: nilfs_sufile_trim_fs goes through all segments containing bytes
+ * Description: nilfs_sufile_trim_fs goes through all segments containing bytes
  * from start to start+len. start is rounded up to the next block boundary
  * and start+len is rounded down. For each clean segment blkdev_issue_discard
  * function is invoked.
fs/nilfs2/super.c +1 -1
index 893a504cb80c..65f44ff6779e 100644
@@ -654,7 +654,7 @@ static int nilfs_statfs(struct dentry *dentry, struct kstatfs *buf)
 			/*
 			 * If nilfs_palloc_count_max_entries() returns
 			 * -ERANGE error code then we simply treat
-			 * curent inodes count as maximum possible and
+			 * current inodes count as maximum possible and
 			 * zero as free inodes value.
 			 */
 			nmaxinodes = atomic64_read(&root->inodes_count);
Signature · 1 line
2.48.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Hemanth Selam

Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.

Assisted-by Cursor:claude-opus-5

---

Hemanth Selam, thank you for the patch.

Viacheslav, could you please add this to the queue for the next cycle as well?

Thanks,
Ryusuke Konishi

Quoted 33 lines
 fs/nilfs2/sufile.c | 2 +-
 fs/nilfs2/super.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
fs/nilfs2/sufile.c +1 -1
index eceedca02697..6918be6fce2e 100644
@@ -1050,7 +1050,7 @@ ssize_t nilfs_sufile_set_suinfo(struct inode *sufile, void *buf,
  * len:                number of Bytes to trim from start
  * minlen:     minimum extent length in Bytes
  *
- * Decription: nilfs_sufile_trim_fs goes through all segments containing bytes
+ * Description: nilfs_sufile_trim_fs goes through all segments containing bytes
  * from start to start+len. start is rounded up to the next block boundary
  * and start+len is rounded down. For each clean segment blkdev_issue_discard
  * function is invoked.
fs/nilfs2/super.c +1 -2
index 893a504cb80c..65f44ff6779e 100644
@@ -654,7 +654,7 @@ static int nilfs_statfs(struct dentry *dentry, struct kstatfs *buf)
                        /*
                         * If nilfs_palloc_count_max_entries() returns
                         * -ERANGE error code then we simply treat
-                        * curent inodes count as maximum possible and
+                        * current inodes count as maximum possible and
                         * zero as free inodes value.
                         */
                        nmaxinodes = atomic64_read(&root->inodes_count);
--

2.48.1

maintainer Applied
#2 lore raw
Quoted 13 lines · Ryusuke Konishi
Quoted 9 lines · Hemanth Selam

Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt.  Only touches comments, no code
changes.

Assisted-by Cursor:claude-opus-5

---

Quoted 51 lines

Hemanth Selam, thank you for the patch.

Viacheslav, could you please add this to the queue for the next cycle as well?

Thanks,
Ryusuke Konishi

Quoted 43 lines

 fs/nilfs2/sufile.c | 2 +-
 fs/nilfs2/super.c  | 2 +-

 2 files changed, 2 insertions(+), 2 deletions(-)
fs/nilfs2/sufile.c +0 -1
index eceedca02697..6918be6fce2e 100644
@@ -1050,7 +1050,7 @@ ssize_t nilfs_sufile_set_suinfo(struct inode
 *sufile, void *buf,
   * len:                number of Bytes to trim from start
   * minlen:     minimum extent length in Bytes
   *
- * Decription: nilfs_sufile_trim_fs goes through all segments

containing bytes
+ * Description: nilfs_sufile_trim_fs goes through all segments containing bytes
  * from start to start+len. start is rounded up to the next block boundary
  * and start+len is rounded down. For each clean segment blkdev_issue_discard
  * function is invoked.

fs/nilfs2/super.c +0 -0
index 893a504cb80c..65f44ff6779e 100644
@@ -654,7 +654,7 @@ static int nilfs_statfs(struct dentry *dentry,
 struct kstatfs *buf)
                         /*
                          * If nilfs_palloc_count_max_entries()

returns
                         * -ERANGE error code then we simply treat -                        * curent inodes count as maximum possible and
+                        * current inodes count as maximum possible and
                         * zero as free inodes value.
                         */
                        nmaxinodes = atomic64_read(&root-

Quoted 1 line

inodes_count);

--
2.48.1

Applied.

Thanks,
Slava.