Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp487223pxf; Thu, 8 Apr 2021 07:11:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/0r+kgN3fxriHw4+OACX6QZ5e9RNT6sbXghWCf5vGw/dQVtRHOr9WX0bxFW4UWgyWuLV+ X-Received: by 2002:a63:4944:: with SMTP id y4mr8390402pgk.9.1617891098940; Thu, 08 Apr 2021 07:11:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617891098; cv=none; d=google.com; s=arc-20160816; b=mhQNWqTvUR2RoaojduEF9XD70EIL6eYHiWrDUY595c+ZlmIAhSdvZm//MQvuVTtEhI QG9eCtIM8AvcAjHVMeK7mlvFZYoN3QRN2j+M3tb/Js4iGerA1mOpJm69JGGx5UWtnt4S PP128cdZBzaN3xLDqHIsXB5A/lKrUg0dlu3J/bzL3WPkRtHepsBMdsDApRtuhvjx6w8M nsF3yNVMPIMiZDNk+DoKjBx+mxXblmLW/CDN2mfy2HnoFJHDEmWwfUtlHCSc1qrYhVKM NEzxK+Ua4E0l3nmVVK4X3soeLkIkrFnEolhxmhlckb7MOvbnYTziLcxsamxUMOY3ULPt +bCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=MFJ/gbr2U1ithM1CD6NHLv1s/2fri6VhKwgLJB+VzBU=; b=pD/SsvFcJEMX2imVlNxonOy+Mv2qQsdHcSF3CF5FE0Um+i4rMUwLwddqWFzJpMwzO6 OFujvGr/ChSdf2+HBUVbv9gSP8gEbyBmair3v3B0xVzw6mQTbI466qm3LWLmbynYm1et rg9s0MPWUI9bDtHlEacoIk6LCTG0rH+qpigBMRSd6KOUS9IVYueuV7TYKj9x4hFf42EX UFuBZzrfSaTY726fGE0ZX9Nan/x5EA/vbVXvG5ga/l3a/qLGD30bD4w2PxaYTRFCt025 SOVAj91toMjl23KZyn+/HEKQAYbqQPEM3dozhhtFIMbgNEXctyCyIAUyBvmM9q1LZHNi 4v1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p16si28014303plw.176.2021.04.08.07.11.25; Thu, 08 Apr 2021 07:11:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232017AbhDHOKq (ORCPT + 99 others); Thu, 8 Apr 2021 10:10:46 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:16100 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231857AbhDHOIo (ORCPT ); Thu, 8 Apr 2021 10:08:44 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FGNN81dBzz1BG9y; Thu, 8 Apr 2021 22:06:16 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.175) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.498.0; Thu, 8 Apr 2021 22:08:21 +0800 From: Lu Jialin To: Ryusuke Konishi , James Morris CC: Lu Jialin , Xiu Jianfeng , Xiang Yang , Wang Weiyang , Cui GaoSheng , Gong Ruiqi , , Subject: [PATCH -next] nilfs2: Fix typos in comments Date: Thu, 8 Apr 2021 22:08:24 +0800 Message-ID: <20210408140824.62010-1-lujialin4@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.174.175] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org numer -> number in fs/nilfs2/cpfile.c and fs/nilfs2/segment.c retured -> returned and Decription -> Description in fs/nilfs2/ioctl.c isntance -> instance in fs/nilfs2/the_nilfs.c No functionality changed. Signed-off-by: Lu Jialin --- fs/nilfs2/cpfile.c | 2 +- fs/nilfs2/ioctl.c | 6 +++--- fs/nilfs2/segment.c | 4 ++-- fs/nilfs2/the_nilfs.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fs/nilfs2/cpfile.c b/fs/nilfs2/cpfile.c index 025fb082575a..ce144776b4ef 100644 --- a/fs/nilfs2/cpfile.c +++ b/fs/nilfs2/cpfile.c @@ -293,7 +293,7 @@ void nilfs_cpfile_put_checkpoint(struct inode *cpfile, __u64 cno, * nilfs_cpfile_delete_checkpoints - delete checkpoints * @cpfile: inode of checkpoint file * @start: start checkpoint number - * @end: end checkpoint numer + * @end: end checkpoint number * * Description: nilfs_cpfile_delete_checkpoints() deletes the checkpoints in * the period from @start to @end, excluding @end itself. The checkpoints diff --git a/fs/nilfs2/ioctl.c b/fs/nilfs2/ioctl.c index b053b40315bf..cbb59a6c4b81 100644 --- a/fs/nilfs2/ioctl.c +++ b/fs/nilfs2/ioctl.c @@ -979,7 +979,7 @@ static int nilfs_ioctl_clean_segments(struct inode *inode, struct file *filp, * and metadata are written out to the device when it successfully * returned. * - * Return Value: On success, 0 is retured. On errors, one of the following + * Return Value: On success, 0 is returned. On errors, one of the following * negative error code is returned. * * %-EROFS - Read only filesystem. @@ -1058,7 +1058,7 @@ static int nilfs_ioctl_resize(struct inode *inode, struct file *filp, * @inode: inode object * @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 * performs the actual trim operation. * @@ -1100,7 +1100,7 @@ static int nilfs_ioctl_trim_fs(struct inode *inode, void __user *argp) * @inode: inode object * @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. * The NILFS_IOCTL_SET_ALLOC_RANGE is used by nilfs_resize utility. * diff --git a/fs/nilfs2/segment.c b/fs/nilfs2/segment.c index cd4da9535aed..686c8ee7b29c 100644 --- a/fs/nilfs2/segment.c +++ b/fs/nilfs2/segment.c @@ -2214,7 +2214,7 @@ static void nilfs_segctor_wakeup(struct nilfs_sc_info *sci, int err) * nilfs_construct_segment - construct a logical segment * @sb: super block * - * Return Value: On success, 0 is retured. On errors, one of the following + * Return Value: On success, 0 is returned. On errors, one of the following * negative error code is returned. * * %-EROFS - Read only filesystem. @@ -2251,7 +2251,7 @@ int nilfs_construct_segment(struct super_block *sb) * @start: start byte offset * @end: end byte offset (inclusive) * - * Return Value: On success, 0 is retured. On errors, one of the following + * Return Value: On success, 0 is returned. On errors, one of the following * negative error code is returned. * * %-EROFS - Read only filesystem. diff --git a/fs/nilfs2/the_nilfs.c b/fs/nilfs2/the_nilfs.c index 221a1cc597f0..8b7b01a380ce 100644 --- a/fs/nilfs2/the_nilfs.c +++ b/fs/nilfs2/the_nilfs.c @@ -195,7 +195,7 @@ static int nilfs_store_log_cursor(struct the_nilfs *nilfs, /** * load_nilfs - load and recover the nilfs * @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, * attaches the last segment, and does recovery if needed. -- 2.17.1