]> git.dujemihanovic.xyz Git - linux.git/commitdiff
nfsd: fix some spelling errors in comments
authorLi Lingfeng <lilingfeng3@huawei.com>
Sat, 24 Aug 2024 01:43:36 +0000 (09:43 +0800)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 20 Sep 2024 23:31:03 +0000 (19:31 -0400)
Fix spelling errors in comments of nfsd4_release_lockowner and
nfs4_set_delegation.

Signed-off-by: Li Lingfeng <lilingfeng3@huawei.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c

index b743a021b51aa4fd5277bdac2f22f501874f5640..070fdf60334f81f90e5c9738bec73abd57057e89 100644 (file)
@@ -5853,7 +5853,7 @@ nfs4_set_delegation(struct nfsd4_open *open, struct nfs4_ol_stateid *stp,
 
        /*
         * Now that the deleg is set, check again to ensure that nothing
-        * raced in and changed the mode while we weren't lookng.
+        * raced in and changed the mode while we weren't looking.
         */
        status = nfsd4_verify_setuid_write(open, fp->fi_deleg_file);
        if (status)
@@ -8326,7 +8326,7 @@ out:
  * @cstate: NFSv4 COMPOUND state
  * @u: RELEASE_LOCKOWNER arguments
  *
- * Check if theree are any locks still held and if not - free the lockowner
+ * Check if there are any locks still held and if not, free the lockowner
  * and any lock state that is owned.
  *
  * Return values: