struct lsd_client_data *lcd)
{
int length = sizeof(lcd->lcd_uuid);
- if (strnlen(lcd->lcd_uuid, length) == length) {
+ if (strnlen((const char *)lcd->lcd_uuid, length) == length) {
lcd->lcd_uuid[length - 1] = '\0';
LCONSOLE_ERROR("the client UUID (%s) on %s for exports"
}
static int osc_getattr_interpret(struct ptlrpc_request *req,
- struct osc_async_args *aa, int rc)
+ void *data, int rc)
{
struct ost_body *body;
+ struct osc_async_args *aa = data;
ENTRY;
if (rc != 0)
}
static int osc_setattr_interpret(struct ptlrpc_request *req,
- struct osc_async_args *aa, int rc)
+ void *data, int rc)
{
struct ost_body *body;
+ struct osc_async_args *aa = data;
ENTRY;
if (rc != 0)
}
static int osc_punch_interpret(struct ptlrpc_request *req,
- struct osc_async_args *aa, int rc)
+ void *data, int rc)
{
struct ost_body *body;
+ struct osc_async_args *aa = data;
ENTRY;
if (rc != 0)
}
static int osc_sync_interpret(struct ptlrpc_request *req,
- struct osc_async_args *aa, int rc)
+ void *data, int rc)
{
struct ost_body *body;
+ struct osc_async_args *aa = data;
ENTRY;
if (rc)
struct ptlrpc_request_set *set);
static int osc_shrink_grant_interpret(struct ptlrpc_request *req,
- struct osc_grant_args *aa, int rc)
+ void *data, int rc)
{
+ struct osc_grant_args *aa = data;
struct client_obd *cli = &req->rq_import->imp_obd->u.cli;
struct obdo *oa = aa->aa_oa;
struct ost_body *body;
}
static int osc_enqueue_interpret(struct ptlrpc_request *req,
- struct osc_enqueue_args *aa, int rc)
+ void *data, int rc)
{
+ struct osc_enqueue_args *aa = data;
int intent = aa->oa_oi->oi_flags & LDLM_FL_HAS_INTENT;
struct lov_stripe_md *lsm = aa->oa_oi->oi_md;
struct ldlm_lock *lock;
}
static int osc_statfs_interpret(struct ptlrpc_request *req,
- struct osc_async_args *aa, int rc)
+ void *data, int rc)
{
+ struct osc_async_args *aa = data;
struct client_obd *cli = &req->rq_import->imp_obd->u.cli;
struct obd_statfs *msfs;
ENTRY;