int rc, size = sizeof(*rec);
ENTRY;
- req = ptlrpc_prep_req2(conn, MDS_REINT, 1, &size, NULL);
+ req = ptlrpc_prep_req(class_conn2cliimp(conn), MDS_REINT, 1, &size,
+ NULL);
if (!req)
RETURN(-ENOMEM);
bufcount = 3;
}
- req = ptlrpc_prep_req2(conn, MDS_REINT, bufcount, size, NULL);
+ req = ptlrpc_prep_req(class_conn2cliimp(conn), MDS_REINT, bufcount, size,
+ NULL);
if (!req)
RETURN(-ENOMEM);
int rc, size[2] = {sizeof(struct mds_rec_unlink), namelen + 1};
ENTRY;
- req = ptlrpc_prep_req2(conn, MDS_REINT, 2, size, NULL);
+ req = ptlrpc_prep_req(class_conn2cliimp(conn), MDS_REINT, 2, size, NULL);
if (!req)
RETURN(-ENOMEM);
int rc, size[2] = {sizeof(struct mds_rec_link), namelen + 1};
ENTRY;
- req = ptlrpc_prep_req2(conn, MDS_REINT, 2, size, NULL);
+ req = ptlrpc_prep_req(class_conn2cliimp(conn), MDS_REINT, 2, size, NULL);
if (!req)
RETURN(-ENOMEM);
newlen + 1};
ENTRY;
- req = ptlrpc_prep_req2(conn, MDS_REINT, 3, size, NULL);
+ req = ptlrpc_prep_req(class_conn2cliimp(conn), MDS_REINT, 3, size, NULL);
if (!req)
RETURN(-ENOMEM);