NFSD: Fix space and spelling mistake
authorZhang Jiaming <jiaming@nfschina.com>
Thu, 23 Jun 2022 08:20:05 +0000 (16:20 +0800)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 30 Jul 2022 00:08:56 +0000 (20:08 -0400)
Add a blank space after ','.
Change 'succesful' to 'successful'.

Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4proc.c

index 3895eb52d2b104494fdc23df4846e6863451f685..d267b9bcf1fc7542dfe8e37348c6a01e8101fe55 100644 (file)
@@ -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);
                        /*