Skip to contentSkip to conversation

fs: gfs2: Fix typos in comments

PATCH In review Md Shofiqul Islam 2 participants 2 messages May 5 – Aug 31 GFS2 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs: gfs2: Fix typos in comments

Fix spelling mistake in comments:
- occured -> occurred (twice)

---
 fs/gfs2/lock_dlm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/gfs2/lock_dlm.c +2 -2
index 7828ad0b6..563bb90a3 100644
@@ -434,7 +434,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.
  *
@@ -812,7 +812,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)
 	 */
 
Signature · 1 line
2.51.1
#1 lore raw
Quoted 2 lines · Md Shofiqul Islam

Fix spelling mistake in comments:
- occured -> occurred (twice)

Thanks for the patch. Could you resend with a signed-off-by header?

Andreas

Quoted 29 lines
---
 fs/gfs2/lock_dlm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/gfs2/lock_dlm.c +2 -3
index 7828ad0b6..563bb90a3 100644
@@ -434,7 +434,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.
  *
@@ -812,7 +812,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)
         */
 
--

2.51.1