Commit 312f79c4 authored by Lu Jialin's avatar Lu Jialin Committed by Linus Torvalds

nilfs2: fix typos in comments

numer -> number in fs/nilfs2/cpfile.c
Decription -> Description in fs/nilfs2/ioctl.c
isntance -> instance in fs/nilfs2/the_nilfs.c

Link: https://lkml.kernel.org/r/1617942951-14631-1-git-send-email-konishi.ryusuke@gmail.com
Link: https://lore.kernel.org/r/20210409022519.176988-1-lujialin4@huawei.comSigned-off-by: default avatarLu Jialin <lujialin4@huawei.com>
Signed-off-by: default avatarRyusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 300563e6
...@@ -293,7 +293,7 @@ void nilfs_cpfile_put_checkpoint(struct inode *cpfile, __u64 cno, ...@@ -293,7 +293,7 @@ void nilfs_cpfile_put_checkpoint(struct inode *cpfile, __u64 cno,
* nilfs_cpfile_delete_checkpoints - delete checkpoints * nilfs_cpfile_delete_checkpoints - delete checkpoints
* @cpfile: inode of checkpoint file * @cpfile: inode of checkpoint file
* @start: start checkpoint number * @start: start checkpoint number
* @end: end checkpoint numer * @end: end checkpoint number
* *
* Description: nilfs_cpfile_delete_checkpoints() deletes the checkpoints in * Description: nilfs_cpfile_delete_checkpoints() deletes the checkpoints in
* the period from @start to @end, excluding @end itself. The checkpoints * the period from @start to @end, excluding @end itself. The checkpoints
......
...@@ -1043,7 +1043,7 @@ static int nilfs_ioctl_resize(struct inode *inode, struct file *filp, ...@@ -1043,7 +1043,7 @@ static int nilfs_ioctl_resize(struct inode *inode, struct file *filp,
* @inode: inode object * @inode: inode object
* @argp: pointer on argument from userspace * @argp: pointer on argument from userspace
* *
* Decription: nilfs_ioctl_trim_fs is the FITRIM ioctl handle function. It * Description: nilfs_ioctl_trim_fs is the FITRIM ioctl handle function. It
* checks the arguments from userspace and calls nilfs_sufile_trim_fs, which * checks the arguments from userspace and calls nilfs_sufile_trim_fs, which
* performs the actual trim operation. * performs the actual trim operation.
* *
...@@ -1085,7 +1085,7 @@ static int nilfs_ioctl_trim_fs(struct inode *inode, void __user *argp) ...@@ -1085,7 +1085,7 @@ static int nilfs_ioctl_trim_fs(struct inode *inode, void __user *argp)
* @inode: inode object * @inode: inode object
* @argp: pointer on argument from userspace * @argp: pointer on argument from userspace
* *
* Decription: nilfs_ioctl_set_alloc_range() function defines lower limit * Description: nilfs_ioctl_set_alloc_range() function defines lower limit
* of segments in bytes and upper limit of segments in bytes. * of segments in bytes and upper limit of segments in bytes.
* The NILFS_IOCTL_SET_ALLOC_RANGE is used by nilfs_resize utility. * The NILFS_IOCTL_SET_ALLOC_RANGE is used by nilfs_resize utility.
* *
......
...@@ -195,7 +195,7 @@ static int nilfs_store_log_cursor(struct the_nilfs *nilfs, ...@@ -195,7 +195,7 @@ static int nilfs_store_log_cursor(struct the_nilfs *nilfs,
/** /**
* load_nilfs - load and recover the nilfs * load_nilfs - load and recover the nilfs
* @nilfs: the_nilfs structure to be released * @nilfs: the_nilfs structure to be released
* @sb: super block isntance used to recover past segment * @sb: super block instance used to recover past segment
* *
* load_nilfs() searches and load the latest super root, * load_nilfs() searches and load the latest super root,
* attaches the last segment, and does recovery if needed. * attaches the last segment, and does recovery if needed.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment