summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiangshan Yi <yijiangshan@kylinos.cn>2022-09-06 10:41:19 +0800
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2022-10-05 15:29:23 -0400
commit74fd2ca0f6af9cc332957b2e6ef70772e421403a (patch)
tree42be1bc22c8bce95cfccd36bae08137c55e7de12
parent90377158bd2d2acd20e6131e84c234d715b7aa42 (diff)
downloadlinux-stable-74fd2ca0f6af9cc332957b2e6ef70772e421403a.tar.gz
linux-stable-74fd2ca0f6af9cc332957b2e6ef70772e421403a.tar.bz2
linux-stable-74fd2ca0f6af9cc332957b2e6ef70772e421403a.zip
fs/nfs/pnfs_nfs.c: fix spelling typo and syntax error in comment
Fix spelling typo and syntax error in comment. Suggested-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: k2ci <kernel-bot@kylinos.cn> Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
-rw-r--r--fs/nfs/pnfs_nfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/pnfs_nfs.c b/fs/nfs/pnfs_nfs.c
index 657c242a18ff..987c88ddeaf0 100644
--- a/fs/nfs/pnfs_nfs.c
+++ b/fs/nfs/pnfs_nfs.c
@@ -374,12 +374,12 @@ pnfs_bucket_search_commit_reqs(struct pnfs_commit_bucket *buckets,
return NULL;
}
-/* pnfs_generic_search_commit_reqs - Search lists in @cinfo for the head reqest
+/* pnfs_generic_search_commit_reqs - Search lists in @cinfo for the head request
* for @page
* @cinfo - commit info for current inode
* @page - page to search for matching head request
*
- * Returns a the head request if one is found, otherwise returns NULL.
+ * Return: the head request if one is found, otherwise %NULL.
*/
struct nfs_page *
pnfs_generic_search_commit_reqs(struct nfs_commit_info *cinfo, struct page *page)