lkml.org 
[lkml]   [2017]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Changed misspelled variable name
Date
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
\
 
 \ /
  Last update: 2017-12-22 12:18    [W:0.020 / U:0.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site