Commit 76a3f3f1 authored by Li Lingfeng's avatar Li Lingfeng Committed by Chuck Lever

nfsd: fix some spelling errors in comments

Fix spelling errors in comments of nfsd4_release_lockowner and
nfs4_set_delegation.
Signed-off-by: default avatarLi Lingfeng <lilingfeng3@huawei.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent eb059a41
...@@ -5853,7 +5853,7 @@ nfs4_set_delegation(struct nfsd4_open *open, struct nfs4_ol_stateid *stp, ...@@ -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 * 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); status = nfsd4_verify_setuid_write(open, fp->fi_deleg_file);
if (status) if (status)
...@@ -8326,7 +8326,7 @@ check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner) ...@@ -8326,7 +8326,7 @@ check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner)
* @cstate: NFSv4 COMPOUND state * @cstate: NFSv4 COMPOUND state
* @u: RELEASE_LOCKOWNER arguments * @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. * and any lock state that is owned.
* *
* Return values: * Return values:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment