mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
9e93d7adb2
commit
88005c5fc0
|
@ -121,7 +121,7 @@ int mdc_set_lock_data(struct obd_export *exp, __u64 *lockh, void *data,
|
|||
struct ldlm_lock *lock;
|
||||
struct inode *new_inode = data;
|
||||
|
||||
if(bits)
|
||||
if (bits)
|
||||
*bits = 0;
|
||||
|
||||
if (!*lockh)
|
||||
|
@ -196,7 +196,7 @@ int mdc_null_inode(struct obd_export *exp,
|
|||
fid_build_reg_res_name(fid, &res_id);
|
||||
|
||||
res = ldlm_resource_get(ns, NULL, &res_id, 0, 0);
|
||||
if(res == NULL)
|
||||
if (res == NULL)
|
||||
return 0;
|
||||
|
||||
lock_res(res);
|
||||
|
|
Loading…
Reference in New Issue