Commit baa31b89 authored by Changwei Ge's avatar Changwei Ge Committed by Linus Torvalds

ocfs2: correct spelling mistake for migratable for all

Inspired by the ocfs2 patch to fix the spelling of migrateable to
migratable, I checked all ocfs2 files and found more spelling mistakes.
So correct them all.

Link: http://lkml.kernel.org/r/1521525734-19576-1-git-send-email-ge.changwei@h3c.comSigned-off-by: default avatarChangwei Ge <ge.changwei@h3c.com>
Cc: Mark Fasheh <mfasheh@versity.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <joseph.qi@huawei.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 510c4879
...@@ -2490,13 +2490,13 @@ static void dlm_deref_lockres_worker(struct dlm_work_item *item, void *data) ...@@ -2490,13 +2490,13 @@ static void dlm_deref_lockres_worker(struct dlm_work_item *item, void *data)
} }
/* /*
* A migrateable resource is one that is : * A migratable resource is one that is :
* 1. locally mastered, and, * 1. locally mastered, and,
* 2. zero local locks, and, * 2. zero local locks, and,
* 3. one or more non-local locks, or, one or more references * 3. one or more non-local locks, or, one or more references
* Returns 1 if yes, 0 if not. * Returns 1 if yes, 0 if not.
*/ */
static int dlm_is_lockres_migrateable(struct dlm_ctxt *dlm, static int dlm_is_lockres_migratable(struct dlm_ctxt *dlm,
struct dlm_lock_resource *res) struct dlm_lock_resource *res)
{ {
enum dlm_lockres_list idx; enum dlm_lockres_list idx;
...@@ -2527,7 +2527,7 @@ static int dlm_is_lockres_migrateable(struct dlm_ctxt *dlm, ...@@ -2527,7 +2527,7 @@ static int dlm_is_lockres_migrateable(struct dlm_ctxt *dlm,
continue; continue;
} }
cookie = be64_to_cpu(lock->ml.cookie); cookie = be64_to_cpu(lock->ml.cookie);
mlog(0, "%s: Not migrateable res %.*s, lock %u:%llu on " mlog(0, "%s: Not migratable res %.*s, lock %u:%llu on "
"%s list\n", dlm->name, res->lockname.len, "%s list\n", dlm->name, res->lockname.len,
res->lockname.name, res->lockname.name,
dlm_get_lock_cookie_node(cookie), dlm_get_lock_cookie_node(cookie),
...@@ -2787,7 +2787,7 @@ int dlm_empty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) ...@@ -2787,7 +2787,7 @@ int dlm_empty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res)
assert_spin_locked(&dlm->spinlock); assert_spin_locked(&dlm->spinlock);
spin_lock(&res->spinlock); spin_lock(&res->spinlock);
if (dlm_is_lockres_migrateable(dlm, res)) if (dlm_is_lockres_migratable(dlm, res))
target = dlm_pick_migration_target(dlm, res); target = dlm_pick_migration_target(dlm, res);
spin_unlock(&res->spinlock); spin_unlock(&res->spinlock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment