Re: [PATCH] nilfs2: fix typos in comments
From: Viacheslav Dubeyko
Date: Mon Sep 07 2026 - 13:30:27 EST
On Mon, 2026-09-07 at 17:26 +0900, Ryusuke Konishi wrote:
> On Mon, Sep 7, 2026 at 3:24 PM Hemanth Selam wrote:
> >
> > 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
> > Signed-off-by: Hemanth Selam <hemanth.selam@xxxxxxxxx>
> > ---
>
> Acked-by: Ryusuke Konishi <konishi.ryusuke@xxxxxxxxx>
>
> 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
>
> > fs/nilfs2/sufile.c | 2 +-
> > fs/nilfs2/super.c | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/fs/nilfs2/sufile.c b/fs/nilfs2/sufile.c
> > index eceedca02697..6918be6fce2e 100644
> > --- a/fs/nilfs2/sufile.c
> > +++ b/fs/nilfs2/sufile.c
> > @@ -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.
> > diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c
> > index 893a504cb80c..65f44ff6779e 100644
> > --- a/fs/nilfs2/super.c
> > +++ b/fs/nilfs2/super.c
> > @@ -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
> >
Applied.
Thanks,
Slava.