Whamcloud - gitweb
LU-16728 misc: fix typos in comments 05/50605/4
authorOleg Drokin <green@whamcloud.com>
Tue, 11 Apr 2023 20:17:03 +0000 (16:17 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 18 Apr 2023 03:24:51 +0000 (03:24 +0000)
destroied -> destroyed
preapre -> prepare

Change-Id: Id00be2bb4a219d70bb4a69b90f624ef2cc0d6712
Test-Parameters: trivial
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50605
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
lustre/mdd/mdd_dir.c
lustre/mgs/mgs_llog.c
lustre/ptlrpc/sec.c
lustre/tests/setup_kerberos.sh

index 3d1e7a7..e192068 100644 (file)
@@ -2618,7 +2618,7 @@ err_initlized:
                int rc2;
                if (S_ISDIR(attr->la_mode)) {
                        /* Drop the reference, no need to delete "."/"..",
-                        * because the object to be destroied directly. */
+                        * because the object to be destroyed directly. */
                        rc2 = mdo_ref_del(env, son, handle);
                        if (rc2 != 0)
                                GOTO(unlock, rc);
index ed9029c..a170b11 100644 (file)
@@ -3663,7 +3663,7 @@ static int mgs_srpc_set_param_mem(struct fs_db *fsdb,
                        RETURN(-EINVAL);
        }
 
-       /* preapre room for this coming rule. svcname format should be:
+       /* prepare room for this coming rule. svcname format should be:
         * - fsname: general rule
         * - fsname-tgtname: target-specific rule
         */
@@ -3725,7 +3725,7 @@ static int mgs_srpc_set_param(const struct lu_env *env,
 #ifndef HAVE_GSS
        RETURN(-EINVAL);
 #endif
-       /* keep a copy of original param, which could be destroied
+       /* keep a copy of original param, which could be destroyed
         * during parsing
         */
        copy_size = strlen(param) + 1;
index f6b9ace..7437434 100644 (file)
@@ -1293,7 +1293,7 @@ static void sec_cop_destroy_sec(struct ptlrpc_sec *sec)
        LASSERT_ATOMIC_ZERO(&sec->ps_nctx);
        LASSERT(policy->sp_cops->destroy_sec);
 
-       CDEBUG(D_SEC, "%s@%p: being destroied\n", sec->ps_policy->sp_name, sec);
+       CDEBUG(D_SEC, "%s@%p: being destroyed\n", sec->ps_policy->sp_name, sec);
 
        policy->sp_cops->destroy_sec(sec);
        sptlrpc_policy_put(policy);
index dc55b5b..cbe75fd 100755 (executable)
@@ -622,7 +622,7 @@ cfg_kdc() {
        local tmpacl=$tmpdir/kadm5.acl
 
        echo "+++ Configuring KDC on $MY_KDCNODE"
-       echo "Warning: old KDC setting on $MY_KDCNODE will be destroied!!!"
+       echo "Warning: old KDC setting on $MY_KDCNODE will be destroyed!!!"
 
        echo -n "Checking the existence of KDC config dir..."
        do_kdc_mute "[ -d $KDC_CONF_DIR ]"