Skip to content

Commit 76a3f3f

Browse files
Li Lingfengchucklever
authored andcommitted
nfsd: fix some spelling errors in comments
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>
1 parent eb059a4 commit 76a3f3f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fs/nfsd/nfs4state.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5853,7 +5853,7 @@ nfs4_set_delegation(struct nfsd4_open *open, struct nfs4_ol_stateid *stp,
58535853

58545854
/*
58555855
* Now that the deleg is set, check again to ensure that nothing
5856-
* raced in and changed the mode while we weren't lookng.
5856+
* raced in and changed the mode while we weren't looking.
58575857
*/
58585858
status = nfsd4_verify_setuid_write(open, fp->fi_deleg_file);
58595859
if (status)
@@ -8326,7 +8326,7 @@ check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner)
83268326
* @cstate: NFSv4 COMPOUND state
83278327
* @u: RELEASE_LOCKOWNER arguments
83288328
*
8329-
* Check if theree are any locks still held and if not - free the lockowner
8329+
* Check if there are any locks still held and if not, free the lockowner
83308330
* and any lock state that is owned.
83318331
*
83328332
* Return values:

0 commit comments

Comments
 (0)