gfs2: fix typos in comments
PATCH 1/1 gfs2: fix typos in comments
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 <[email protected]>
--- fs/gfs2/bmap.c | 2 +- fs/gfs2/lock_dlm.c | 4 ++-- fs/gfs2/recovery.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
fs/gfs2/bmap.c +1 -1
@@ -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. *
fs/gfs2/lock_dlm.c +2 -2
@@ -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) */
fs/gfs2/recovery.c +1 -1
@@ -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,
Signature · 1 line
2.48.1
Quoted 61 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>--- fs/gfs2/bmap.c | 2 +- fs/gfs2/lock_dlm.c | 4 ++-- fs/gfs2/recovery.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)fs/gfs2/bmap.c +1
-1@@ -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. * fs/gfs2/lock_dlm.c +2
-2@@ -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) */ fs/gfs2/recovery.c +1
-2@@ -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, --
Quoted 1 line
2.48.1
Applied to for-next, thanks.
Andreas