fs: gfs2: Fix typos in comments
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
@@ -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
Andreas Gruenbacher
maintainerQuoted 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@@ -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