[PATCH] dlm: fix typos in comments

From: Hemanth Selam

Date: Mon Sep 07 2026 - 02:30:19 EST


Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@xxxxxxxxx>
---
fs/dlm/ast.c | 2 +-
fs/dlm/lock.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/dlm/ast.c b/fs/dlm/ast.c
index 0fe8d80ce5e8..7dd38e15bd25 100644
--- a/fs/dlm/ast.c
+++ b/fs/dlm/ast.c
@@ -81,7 +81,7 @@ bool dlm_may_skip_callback(struct dlm_lkb *lkb, uint32_t flags, int mode,
* Suppress some redundant basts here, do more on removal.
* Don't even add a bast if the callback just before it
* is a bast for the same mode or a more restrictive mode.
- * (the addional > PR check is needed for PR/CW inversion)
+ * (the additional > PR check is needed for PR/CW inversion)
*/
if (lkb->lkb_last_cb_mode != -1 &&
lkb->lkb_last_cb_flags & DLM_CB_BAST) {
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c
index c381e1028446..1e1dc1909733 100644
--- a/fs/dlm/lock.c
+++ b/fs/dlm/lock.c
@@ -92,7 +92,7 @@ static void do_purge(struct dlm_ls *ls, int nodeid, int pid);
static void deactivate_rsb(struct kref *kref);

/*
- * Lock compatibilty matrix - thanks Steve
+ * Lock compatibility matrix - thanks Steve
* UN = Unlocked state. Not really a state, used as a flag
* PD = Padding. Used to make the matrix a nice power of two in size
* Other states are the same as the VMS DLM.
--
2.48.1