}
ptype = object_update_param_get(update, 2, &size);
if (IS_ERR(ptype) || size != sizeof(*ptype)) {
CERROR("%s: invalid type for index insert: rc = %ld\n",
tgt_name(tsi->tsi_tgt), PTR_ERR(ptype));
}
ptype = object_update_param_get(update, 2, &size);
if (IS_ERR(ptype) || size != sizeof(*ptype)) {
CERROR("%s: invalid type for index insert: rc = %ld\n",
tgt_name(tsi->tsi_tgt), PTR_ERR(ptype));