fs/cifs/: fix misspellings using codespell tool
authorLiu xuzhi <liu.xuzhi@zte.com.cn>
Fri, 19 Mar 2021 00:46:57 +0000 (17:46 -0700)
committerSteve French <stfrench@microsoft.com>
Fri, 19 Mar 2021 05:37:51 +0000 (00:37 -0500)
A typo is found out by codespell tool in 251th lines of cifs_swn.c:

$ codespell ./fs/cifs/
./cifs_swn.c:251: funciton  ==> function

Fix a typo found by codespell.

Signed-off-by: Liu xuzhi <liu.xuzhi@zte.com.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_swn.c

index f2d730f..d829b8b 100644 (file)
@@ -248,7 +248,7 @@ nlmsg_fail:
 
 /*
  * Try to find a matching registration for the tcon's server name and share name.
- * Calls to this funciton must be protected by cifs_swnreg_idr_mutex.
+ * Calls to this function must be protected by cifs_swnreg_idr_mutex.
  * TODO Try to avoid memory allocations
  */
 static struct cifs_swn_reg *cifs_find_swn_reg(struct cifs_tcon *tcon)