aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTugce Sirin <ztugcesirin@gmail.com>2014-03-19 15:01:08 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-19 16:41:27 -0400
commit88005c5fc01ac01bff18a7d1004ff5a850d162ac (patch)
treeaf6a10c1769fe72268fce1cf8acf4af89e1b683d
parent9e93d7adb25b0ce36dc594d83a9de62a70ea049b (diff)
Staging: lustre: Fix space required before the open parenthesis
This patch fixes space required before the open parenthesis in lustre driver. Signed-off-by: Tugce Sirin <ztugcesirin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/lustre/lustre/mdc/mdc_locks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/mdc/mdc_locks.c b/drivers/staging/lustre/lustre/mdc/mdc_locks.c
index 523f089f0aa8..53022ec390f0 100644
--- a/drivers/staging/lustre/lustre/mdc/mdc_locks.c
+++ b/drivers/staging/lustre/lustre/mdc/mdc_locks.c
@@ -121,7 +121,7 @@ int mdc_set_lock_data(struct obd_export *exp, __u64 *lockh, void *data,
121 struct ldlm_lock *lock; 121 struct ldlm_lock *lock;
122 struct inode *new_inode = data; 122 struct inode *new_inode = data;
123 123
124 if(bits) 124 if (bits)
125 *bits = 0; 125 *bits = 0;
126 126
127 if (!*lockh) 127 if (!*lockh)
@@ -196,7 +196,7 @@ int mdc_null_inode(struct obd_export *exp,
196 fid_build_reg_res_name(fid, &res_id); 196 fid_build_reg_res_name(fid, &res_id);
197 197
198 res = ldlm_resource_get(ns, NULL, &res_id, 0, 0); 198 res = ldlm_resource_get(ns, NULL, &res_id, 0, 0);
199 if(res == NULL) 199 if (res == NULL)
200 return 0; 200 return 0;
201 201
202 lock_res(res); 202 lock_res(res);