* [PATCH] gfs2: fix typos in comments
@ 2026-09-04 11:24 Hemanth Selam
2026-09-04 12:29 ` Andreas Gruenbacher
0 siblings, 1 reply; 2+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:24 UTC (permalink / raw)
To: Andreas Gruenbacher; +Cc: linux-kernel, gfs2
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@gmail.com>
---
fs/gfs2/bmap.c | 2 +-
fs/gfs2/lock_dlm.c | 4 ++--
fs/gfs2/recovery.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c
index 73c626971163..8c734450c998 100644
--- a/fs/gfs2/bmap.c
+++ b/fs/gfs2/bmap.c
@@ -1212,7 +1212,7 @@ const struct iomap_ops gfs2_iomap_ops = {
* @inode: The inode
* @lblock: The logical block number
* @bh_map: The bh to be mapped
- * @create: True if its ok to alloc blocks to satify the request
+ * @create: True if its ok to alloc blocks to satisfy the request
*
* The size of the requested mapping is defined in bh_map->b_size.
*
diff --git a/fs/gfs2/lock_dlm.c b/fs/gfs2/lock_dlm.c
index cef4bdee92a8..47eec0c13025 100644
--- a/fs/gfs2/lock_dlm.c
+++ b/fs/gfs2/lock_dlm.c
@@ -431,7 +431,7 @@ static void gdlm_cancel(struct gfs2_glock *gl)
* 10. gfs2_control sets control_lock lvb = new gen + bits for failed jids
* 12. gfs2_recover does journal recoveries for failed jids identified above
* 14. gfs2_control clears control_lock lvb bits for recovered jids
- * 15. gfs2_control checks if recover_block == recover_start (step 3 occured
+ * 15. gfs2_control checks if recover_block == recover_start (step 3 occurred
* again) then do nothing, otherwise if recover_start > recover_block
* then clear BLOCK_LOCKS.
*
@@ -809,7 +809,7 @@ static void gfs2_control_func(struct work_struct *work)
/*
* No more jid bits set in lvb, all recovery is done, unblock locks
- * (unless a new recover_prep callback has occured blocking locks
+ * (unless a new recover_prep callback has occurred blocking locks
* again while working above)
*/
diff --git a/fs/gfs2/recovery.c b/fs/gfs2/recovery.c
index 616c46aa3434..27777497677f 100644
--- a/fs/gfs2/recovery.c
+++ b/fs/gfs2/recovery.c
@@ -155,7 +155,7 @@ int __get_log_header(struct gfs2_sbd *sdp, const struct gfs2_log_header *lh,
* @blk: the block to look at
* @head: the log header to return
*
- * Read the log header for a given segement in a given journal. Do a few
+ * Read the log header for a given segment in a given journal. Do a few
* sanity checks on it.
*
* Returns: 0 on success,
--
2.48.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] gfs2: fix typos in comments
2026-09-04 11:24 [PATCH] gfs2: fix typos in comments Hemanth Selam
@ 2026-09-04 12:29 ` Andreas Gruenbacher
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Gruenbacher @ 2026-09-04 12:29 UTC (permalink / raw)
To: Hemanth Selam; +Cc: linux-kernel, gfs2
On Fri, Sep 4, 2026 at 1:24 PM Hemanth Selam <hemanth.selam@gmail.com> wrote:
> 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@gmail.com>
> ---
> fs/gfs2/bmap.c | 2 +-
> fs/gfs2/lock_dlm.c | 4 ++--
> fs/gfs2/recovery.c | 2 +-
> 3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c
> index 73c626971163..8c734450c998 100644
> --- a/fs/gfs2/bmap.c
> +++ b/fs/gfs2/bmap.c
> @@ -1212,7 +1212,7 @@ const struct iomap_ops gfs2_iomap_ops = {
> * @inode: The inode
> * @lblock: The logical block number
> * @bh_map: The bh to be mapped
> - * @create: True if its ok to alloc blocks to satify the request
> + * @create: True if its ok to alloc blocks to satisfy the request
> *
> * The size of the requested mapping is defined in bh_map->b_size.
> *
> diff --git a/fs/gfs2/lock_dlm.c b/fs/gfs2/lock_dlm.c
> index cef4bdee92a8..47eec0c13025 100644
> --- a/fs/gfs2/lock_dlm.c
> +++ b/fs/gfs2/lock_dlm.c
> @@ -431,7 +431,7 @@ static void gdlm_cancel(struct gfs2_glock *gl)
> * 10. gfs2_control sets control_lock lvb = new gen + bits for failed jids
> * 12. gfs2_recover does journal recoveries for failed jids identified above
> * 14. gfs2_control clears control_lock lvb bits for recovered jids
> - * 15. gfs2_control checks if recover_block == recover_start (step 3 occured
> + * 15. gfs2_control checks if recover_block == recover_start (step 3 occurred
> * again) then do nothing, otherwise if recover_start > recover_block
> * then clear BLOCK_LOCKS.
> *
> @@ -809,7 +809,7 @@ static void gfs2_control_func(struct work_struct *work)
>
> /*
> * No more jid bits set in lvb, all recovery is done, unblock locks
> - * (unless a new recover_prep callback has occured blocking locks
> + * (unless a new recover_prep callback has occurred blocking locks
> * again while working above)
> */
>
> diff --git a/fs/gfs2/recovery.c b/fs/gfs2/recovery.c
> index 616c46aa3434..27777497677f 100644
> --- a/fs/gfs2/recovery.c
> +++ b/fs/gfs2/recovery.c
> @@ -155,7 +155,7 @@ int __get_log_header(struct gfs2_sbd *sdp, const struct gfs2_log_header *lh,
> * @blk: the block to look at
> * @head: the log header to return
> *
> - * Read the log header for a given segement in a given journal. Do a few
> + * Read the log header for a given segment in a given journal. Do a few
> * sanity checks on it.
> *
> * Returns: 0 on success,
> --
> 2.48.1
Applied to for-next, thanks.
Andreas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-04 12:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 11:24 [PATCH] gfs2: fix typos in comments Hemanth Selam
2026-09-04 12:29 ` Andreas Gruenbacher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®