struct obd_trans_info *oti)
{
struct ost_body *body, *repbody;
- int rc, size[2] = { sizeof(struct ptlrpc_body), sizeof(*body) };
+ __u32 size[2] = { sizeof(struct ptlrpc_body), sizeof(*body) };
+ int rc;
ENTRY;
body = lustre_swab_reqbuf(req, REQ_REC_OFF, sizeof(*body),
{
struct ost_body *body, *repbody;
struct obd_info oinfo = { { { 0 } } };
- int rc, size[2] = { sizeof(struct ptlrpc_body), sizeof(*body) };
+ __u32 size[2] = { sizeof(struct ptlrpc_body), sizeof(*body) };
+ int rc;
ENTRY;
body = lustre_swab_reqbuf(req, REQ_REC_OFF, sizeof(*body),
static int ost_statfs(struct ptlrpc_request *req)
{
struct obd_statfs *osfs;
- int rc, size[2] = { sizeof(struct ptlrpc_body), sizeof(*osfs) };
+ __u32 size[2] = { sizeof(struct ptlrpc_body), sizeof(*osfs) };
+ int rc;
ENTRY;
rc = lustre_pack_reply(req, 2, size, NULL);
struct obd_trans_info *oti)
{
struct ost_body *body, *repbody;
- int rc, size[2] = { sizeof(struct ptlrpc_body), sizeof(*repbody) };
+ __u32 size[2] = { sizeof(struct ptlrpc_body), sizeof(*repbody) };
+ int rc;
ENTRY;
body = lustre_swab_reqbuf(req, REQ_REC_OFF, sizeof(*body),
{
struct obd_info oinfo = { { { 0 } } };
struct ost_body *body, *repbody;
- int rc, size[2] = { sizeof(struct ptlrpc_body), sizeof(*repbody) };
+ __u32 size[2] = { sizeof(struct ptlrpc_body), sizeof(*repbody) };
+ int rc;
struct lustre_handle lh = {0,};
ENTRY;
{
struct ost_body *body, *repbody;
struct lustre_capa *capa = NULL;
- int rc, size[2] = { sizeof(struct ptlrpc_body), sizeof(*repbody) };
+ __u32 size[2] = { sizeof(struct ptlrpc_body), sizeof(*repbody) };
+ int rc;
ENTRY;
body = lustre_swab_reqbuf(req, REQ_REC_OFF, sizeof(*body),
struct obd_trans_info *oti)
{
struct ost_body *body, *repbody;
- int rc, size[2] = { sizeof(struct ptlrpc_body), sizeof(*repbody) };
+ __u32 size[2] = { sizeof(struct ptlrpc_body), sizeof(*repbody) };
+ int rc;
struct obd_info oinfo = { { { 0 } } };
ENTRY;
struct lustre_capa *capa = NULL;
struct l_wait_info lwi;
struct lustre_handle lockh = { 0 };
- int size[2] = { sizeof(struct ptlrpc_body), sizeof(*body) };
+ __u32 size[2] = { sizeof(struct ptlrpc_body), sizeof(*body) };
int niocount, npages, nob = 0, rc, i;
int no_reply = 0;
ENTRY;
struct lustre_handle lockh = {0};
struct lustre_capa *capa = NULL;
__u32 *rcs;
- int size[3] = { sizeof(struct ptlrpc_body), sizeof(*body) };
+ __u32 size[3] = { sizeof(struct ptlrpc_body), sizeof(*body) };
int objcount, niocount, npages;
int rc, swab, i, j;
obd_count client_cksum = 0, server_cksum = 0;
static int ost_handle_quotactl(struct ptlrpc_request *req)
{
struct obd_quotactl *oqctl, *repoqc;
- int rc, size[2] = { sizeof(struct ptlrpc_body), sizeof(*repoqc) };
+ __u32 size[2] = { sizeof(struct ptlrpc_body), sizeof(*repoqc) };
+ int rc;
ENTRY;
oqctl = lustre_swab_reqbuf(req, REQ_REC_OFF, sizeof(*oqctl),