* [PATCH] Changed misspelled variable name
@ 2017-12-22 11:11 Julian Geus
0 siblings, 0 replies; only message in thread
From: Julian Geus @ 2017-12-22 11:11 UTC (permalink / raw)
To: oleg.drokin
Cc: andreas.dilger, jsimmons, gregkh, neilb, koskisoft,
aastha.gupta4104, andriy.skulysh, bcodding, lustre-devel, devel,
linux-kernel, linux-kernel, Julian Geus, Kilian Bender
The misspelled variable name 'splitted' was changed into 'split'.
Signed-off-by: Julian Geus <julian.geus@fau.de>
Signed-off-by: Kilian Bender <kilian.bender.kernel@gmail.com>
---
drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_flock.c b/drivers/staging/lustre/lustre/ldlm/ldlm_flock.c
index 657ab95..782d8da 100644
--- a/drivers/staging/lustre/lustre/ldlm/ldlm_flock.c
+++ b/drivers/staging/lustre/lustre/ldlm/ldlm_flock.c
@@ -121,7 +121,7 @@ static int ldlm_process_flock_lock(struct ldlm_lock *req)
struct ldlm_lock *new2 = NULL;
enum ldlm_mode mode = req->l_req_mode;
int added = (mode == LCK_NL);
- int splitted = 0;
+ int split = 0;
const struct ldlm_callback_suite null_cbs = { };
CDEBUG(D_DLMTRACE,
@@ -249,7 +249,7 @@ static int ldlm_process_flock_lock(struct ldlm_lock *req)
goto reprocess;
}
- splitted = 1;
+ split = 1;
new2->l_granted_mode = lock->l_granted_mode;
new2->l_policy_data.l_flock.pid =
@@ -282,7 +282,7 @@ static int ldlm_process_flock_lock(struct ldlm_lock *req)
}
/* if new2 is created but never used, destroy it*/
- if (splitted == 0 && new2)
+ if (split == 0 && new2)
ldlm_lock_destroy_nolock(new2);
/* At this point we're granting the lock request. */
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-22 11:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-22 11:11 [PATCH] Changed misspelled variable name Julian Geus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).