]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
NFSD: Fix space and spelling mistake
authorZhang Jiaming <jiaming@nfschina.com>
Thu, 23 Jun 2022 08:20:05 +0000 (16:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:19:08 +0000 (16:19 +0200)
[ Upstream commit f532c9ff103897be0e2a787c0876683c3dc39ed3 ]

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 5b56877c7fb57384e304e7d2e3b389d50e2ed702..d70c4e78f0b3ff9dc2b4a70e13523e4042d57915 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:
@@ -2712,7 +2712,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);
                        /*