* GPL HEADER END
*/
/*
- * Copyright (c) 2013, Intel Corporation.
+ * Copyright (c) 2013, 2014, Intel Corporation.
*
* lustre/target/out_handler.c
*
* the following executing phase succeed in anyway, so these undo
* should be useless for most of the time in Phase I
*/
-int out_tx_create_undo(const struct lu_env *env, struct thandle *th,
- struct tx_arg *arg)
+static int out_tx_create_undo(const struct lu_env *env, struct thandle *th,
+ struct tx_arg *arg)
{
int rc;
return rc;
}
-int out_tx_create_exec(const struct lu_env *env, struct thandle *th,
- struct tx_arg *arg)
+static int out_tx_create_exec(const struct lu_env *env, struct thandle *th,
+ struct tx_arg *arg)
{
struct dt_object *dt_obj = arg->object;
int rc;
tmp = object_update_param_get(update, 2, &size);
if (tmp == NULL || size != sizeof(*tmp)) {
- CERROR("%s: emptry or wrong size %zd flag: rc = %d\n",
+ CERROR("%s: emptry or wrong size %zu flag: rc = %d\n",
tgt_name(tsi->tsi_tgt), size, -EPROTO);
RETURN(err_serious(-EPROTO));
}
tmp = object_update_param_get(update, 1, &size);
if (tmp == NULL || size != sizeof(*tmp)) {
- CERROR("%s: empty or wrong size %zd pos: rc = %d\n",
+ CERROR("%s: empty or wrong size %zu pos: rc = %d\n",
tgt_name(tsi->tsi_tgt), size, -EPROTO);
RETURN(err_serious(-EPROTO));
}
DEF_OUT_HNDL(OUT_WRITE, "out_write", MUTABOR | HABEO_REFERO, out_write),
};
-struct tgt_handler *out_handler_find(__u32 opc)
+static struct tgt_handler *out_handler_find(__u32 opc)
{
struct tgt_handler *h;
return rc;
}
-int out_tx_end(const struct lu_env *env, struct thandle_exec_args *ta,
- int declare_ret)
+static int out_tx_end(const struct lu_env *env, struct thandle_exec_args *ta,
+ int declare_ret)
{
struct tgt_session_info *tsi = tgt_ses_info(env);
int i;