nilfs2: fix typos in comments
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.
--- fs/nilfs2/sufile.c | 2 +- fs/nilfs2/super.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
fs/nilfs2/sufile.c +1 -1
@@ -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
@@ -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
Quoted 8 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>---
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@@ -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@@ -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
Quoted 13 lines · Ryusuke Konishi
Quoted 9 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>---
Acked-by Ryusuke Konishi <[email protected]>
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 KonishiQuoted 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@@ -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 segmentscontaining bytes
+ * Description:nilfs_sufile_trim_fsgoes 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 segmentblkdev_issue_discard
* function is invoked.fs/nilfs2/super.c +0
-0@@ -654,7 +654,7 @@ static int nilfs_statfs(struct dentry *dentry, struct kstatfs *buf) /** If nilfs_palloc_count_max_entries() returns
*-ERANGEerror 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.