Commit ffdac6ce authored by Srikrishan Malik's avatar Srikrishan Malik Committed by Greg Kroah-Hartman

staging: lustre: remove space between function name and and open parenthesis

Fixes following checkpatch warning:

WARNING: space prohibited between function name and open parenthesis '('
Signed-off-by: default avatarSrikrishan Malik <srikrishanmalik@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 139cc6ae
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include "../include/lustre_mdc.h" #include "../include/lustre_mdc.h"
#include "../include/lustre_mds.h" #include "../include/lustre_mds.h"
#if defined (CONFIG_PROC_FS) #if defined CONFIG_PROC_FS
void lprocfs_mdc_init_vars(struct lprocfs_static_vars *lvars); void lprocfs_mdc_init_vars(struct lprocfs_static_vars *lvars);
#else #else
static inline void lprocfs_mdc_init_vars(struct lprocfs_static_vars *lvars) static inline void lprocfs_mdc_init_vars(struct lprocfs_static_vars *lvars)
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
static void __mdc_pack_body(struct mdt_body *b, __u32 suppgid) static void __mdc_pack_body(struct mdt_body *b, __u32 suppgid)
{ {
LASSERT (b != NULL); LASSERT(b != NULL);
b->suppgid = suppgid; b->suppgid = suppgid;
b->uid = from_kuid(&init_user_ns, current_uid()); b->uid = from_kuid(&init_user_ns, current_uid());
...@@ -409,7 +409,7 @@ void mdc_link_pack(struct ptlrpc_request *req, struct md_op_data *op_data) ...@@ -409,7 +409,7 @@ void mdc_link_pack(struct ptlrpc_request *req, struct md_op_data *op_data)
CLASSERT(sizeof(struct mdt_rec_reint) == sizeof(struct mdt_rec_link)); CLASSERT(sizeof(struct mdt_rec_reint) == sizeof(struct mdt_rec_link));
rec = req_capsule_client_get(&req->rq_pill, &RMF_REC_REINT); rec = req_capsule_client_get(&req->rq_pill, &RMF_REC_REINT);
LASSERT (rec != NULL); LASSERT(rec != NULL);
rec->lk_opcode = REINT_LINK; rec->lk_opcode = REINT_LINK;
rec->lk_fsuid = op_data->op_fsuid;//current->fsuid; rec->lk_fsuid = op_data->op_fsuid;//current->fsuid;
......
...@@ -633,7 +633,7 @@ static int mdc_finish_enqueue(struct obd_export *exp, ...@@ -633,7 +633,7 @@ static int mdc_finish_enqueue(struct obd_export *exp,
body = req_capsule_server_get(pill, &RMF_MDT_BODY); body = req_capsule_server_get(pill, &RMF_MDT_BODY);
if (body == NULL) { if (body == NULL) {
CERROR ("Can't swab mdt_body\n"); CERROR("Can't swab mdt_body\n");
return -EPROTO; return -EPROTO;
} }
......
...@@ -1702,7 +1702,7 @@ static int mdc_quotactl(struct obd_device *unused, struct obd_export *exp, ...@@ -1702,7 +1702,7 @@ static int mdc_quotactl(struct obd_device *unused, struct obd_export *exp,
if (oqc) { if (oqc) {
*oqctl = *oqc; *oqctl = *oqc;
} else if (!rc) { } else if (!rc) {
CERROR ("Can't unpack obd_quotactl\n"); CERROR("Can't unpack obd_quotactl\n");
rc = -EPROTO; rc = -EPROTO;
} }
} else if (!rc) { } else if (!rc) {
...@@ -2426,14 +2426,14 @@ static int mdc_setup(struct obd_device *obd, struct lustre_cfg *cfg) ...@@ -2426,14 +2426,14 @@ static int mdc_setup(struct obd_device *obd, struct lustre_cfg *cfg)
struct lprocfs_static_vars lvars = { NULL }; struct lprocfs_static_vars lvars = { NULL };
int rc; int rc;
OBD_ALLOC(cli->cl_rpc_lock, sizeof (*cli->cl_rpc_lock)); OBD_ALLOC(cli->cl_rpc_lock, sizeof(*cli->cl_rpc_lock));
if (!cli->cl_rpc_lock) if (!cli->cl_rpc_lock)
return -ENOMEM; return -ENOMEM;
mdc_init_rpc_lock(cli->cl_rpc_lock); mdc_init_rpc_lock(cli->cl_rpc_lock);
ptlrpcd_addref(); ptlrpcd_addref();
OBD_ALLOC(cli->cl_close_lock, sizeof (*cli->cl_close_lock)); OBD_ALLOC(cli->cl_close_lock, sizeof(*cli->cl_close_lock));
if (!cli->cl_close_lock) if (!cli->cl_close_lock)
GOTO(err_rpc_lock, rc = -ENOMEM); GOTO(err_rpc_lock, rc = -ENOMEM);
mdc_init_rpc_lock(cli->cl_close_lock); mdc_init_rpc_lock(cli->cl_close_lock);
...@@ -2459,9 +2459,9 @@ static int mdc_setup(struct obd_device *obd, struct lustre_cfg *cfg) ...@@ -2459,9 +2459,9 @@ static int mdc_setup(struct obd_device *obd, struct lustre_cfg *cfg)
return rc; return rc;
err_close_lock: err_close_lock:
OBD_FREE(cli->cl_close_lock, sizeof (*cli->cl_close_lock)); OBD_FREE(cli->cl_close_lock, sizeof(*cli->cl_close_lock));
err_rpc_lock: err_rpc_lock:
OBD_FREE(cli->cl_rpc_lock, sizeof (*cli->cl_rpc_lock)); OBD_FREE(cli->cl_rpc_lock, sizeof(*cli->cl_rpc_lock));
ptlrpcd_decref(); ptlrpcd_decref();
return rc; return rc;
} }
...@@ -2523,8 +2523,8 @@ static int mdc_cleanup(struct obd_device *obd) ...@@ -2523,8 +2523,8 @@ static int mdc_cleanup(struct obd_device *obd)
{ {
struct client_obd *cli = &obd->u.cli; struct client_obd *cli = &obd->u.cli;
OBD_FREE(cli->cl_rpc_lock, sizeof (*cli->cl_rpc_lock)); OBD_FREE(cli->cl_rpc_lock, sizeof(*cli->cl_rpc_lock));
OBD_FREE(cli->cl_close_lock, sizeof (*cli->cl_close_lock)); OBD_FREE(cli->cl_close_lock, sizeof(*cli->cl_close_lock));
ptlrpcd_decref(); ptlrpcd_decref();
......
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