[PATCH] NFSD: Fix space and spelling mistake

Zhang Jiaming posted 1 patch 1 year, 10 months ago
fs/nfsd/nfs4proc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] NFSD: Fix space and spelling mistake
Posted by Zhang Jiaming 1 year, 10 months ago
Add a blank space after ','.
Change 'succesful' to 'successful'.

Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
---
 fs/nfsd/nfs4proc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 3895eb52d2b1..d267b9bcf1fc 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -828,7 +828,7 @@ nfsd4_create(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
 			goto out_umask;
 		status = nfsd_create(rqstp, &cstate->current_fh,
 				     create->cr_name, create->cr_namelen,
-				     &create->cr_iattr,S_IFCHR, rdev, &resfh);
+				     &create->cr_iattr, S_IFCHR, rdev, &resfh);
 		break;
 
 	case NF4SOCK:
@@ -2711,7 +2711,7 @@ nfsd4_proc_compound(struct svc_rqst *rqstp)
 		if (op->opdesc->op_flags & OP_MODIFIES_SOMETHING) {
 			/*
 			 * Don't execute this op if we couldn't encode a
-			 * succesful reply:
+			 * successful reply:
 			 */
 			u32 plen = op->opdesc->op_rsize_bop(rqstp, op);
 			/*
-- 
2.25.1
Re: [PATCH] NFSD: Fix space and spelling mistake
Posted by Chuck Lever III 1 year, 10 months ago

> On Jun 23, 2022, at 4:20 AM, Zhang Jiaming <jiaming@nfschina.com> wrote:
> 
> Add a blank space after ','.
> Change 'succesful' to 'successful'.
> 
> Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>

Thanks, applied for the next merge window.


> ---
> fs/nfsd/nfs4proc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
> index 3895eb52d2b1..d267b9bcf1fc 100644
> --- a/fs/nfsd/nfs4proc.c
> +++ b/fs/nfsd/nfs4proc.c
> @@ -828,7 +828,7 @@ nfsd4_create(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
> 			goto out_umask;
> 		status = nfsd_create(rqstp, &cstate->current_fh,
> 				     create->cr_name, create->cr_namelen,
> -				     &create->cr_iattr,S_IFCHR, rdev, &resfh);
> +				     &create->cr_iattr, S_IFCHR, rdev, &resfh);
> 		break;
> 
> 	case NF4SOCK:
> @@ -2711,7 +2711,7 @@ nfsd4_proc_compound(struct svc_rqst *rqstp)
> 		if (op->opdesc->op_flags & OP_MODIFIES_SOMETHING) {
> 			/*
> 			 * Don't execute this op if we couldn't encode a
> -			 * succesful reply:
> +			 * successful reply:
> 			 */
> 			u32 plen = op->opdesc->op_rsize_bop(rqstp, op);
> 			/*
> -- 
> 2.25.1
> 

--
Chuck Lever