Skip to contentSkip to conversation

ocfs2-devel: trivial fix for s/migrate/migration/ in dlmrecovery.c, line 1121

PATCH New Jeff Liu 3 participants 3 messages Jul 7, 2009 – Jul 10, 2009 OCFS2

lore
Share & tools
lore

Jeff Liu

author
#0 lore raw

PATCH 1/1 ocfs2-devel: trivial fix for s/migrate/migration/ in dlmrecovery.c, line 1121

in dlmrecovery.c:1121, replace 'migrate' to 'migration' to keep the consistency by comparing to other lines with the similar log info in the same file.

---
 fs/ocfs2/dlm/dlmrecovery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/ocfs2/dlm/dlmrecovery.c +1 -1
index bcb9260..43e6e32 100644
@@ -1118,7 +1118,7 @@ static int dlm_send_mig_lockres_msg(struct dlm_ctxt *dlm,
 
 	mlog(0, "%s:%.*s: sending mig lockres (%s) to %u\n",
 	     dlm->name, res->lockname.len, res->lockname.name,
-	     orig_flags & DLM_MRES_MIGRATION ? "migrate" : "recovery",
+	     orig_flags & DLM_MRES_MIGRATION ? "migration" : "recovery",
 	     send_to);
 
 	/* send it */
Signature · 1 line
1.5.4.3
#1 lore raw

PATCH 1/1 ocfs2-devel: trivial fix for s/migrate/migration/ in dlmrecovery.c, line 1121

Quoted 21 lines · Jeff Liu

in dlmrecovery.c:1121, replace 'migrate' to 'migration' to keep the consistency by comparing to other lines with the similar log info in the same file.

---
 fs/ocfs2/dlm/dlmrecovery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/ocfs2/dlm/dlmrecovery.c +1 -1
index bcb9260..43e6e32 100644
@@ -1118,7 +1118,7 @@ static int dlm_send_mig_lockres_msg(struct dlm_ctxt *dlm,
 
 	mlog(0, "%s:%.*s: sending mig lockres (%s) to %u\n",
 	     dlm->name, res->lockname.len, res->lockname.name,
-	     orig_flags & DLM_MRES_MIGRATION ? "migrate" : "recovery",
+	     orig_flags & DLM_MRES_MIGRATION ? "migration" : "recovery",
 	     send_to);
 
 	/* send it */
#2 lore raw

PATCH 1/1 ocfs2-devel: trivial fix for s/migrate/migration/ in dlmrecovery.c, line 1121

In reply to Jeff Liu
Quoted 4 lines · Jeff Liu

in dlmrecovery.c:1121, replace 'migrate' to 'migration' to keep the consistency by comparing to other lines with the similar log info in the same file.

This is now part of the fixes branch of ocfs2.git

Joel

Signature · 9 lines
"You can get more with a kind word and a gun than you can with
 a kind word alone."
         - Al Capone

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127