#define OBD_FAIL_OST_BRW_NET 0x20a
#define OBD_FAIL_OST_PUNCH_NET 0x20b
#define OBD_FAIL_OST_STATFS_NET 0x20c
+#define OBD_FAIL_OST_HANDLE_UNPACK 0x20d
#define OBB_FAIL_LDLM 0x300
#define OBD_FAIL_LDLM_NAMESPACE_NEW 0x301
ENTRY;
rc = lustre_unpack_msg(req->rq_reqmsg, req->rq_reqlen);
- if (rc || OBD_FAIL_CHECK(OBD_FAIL_MDS_HANDLE_UNPACK)) {
+ if (rc || OBD_FAIL_CHECK(OBD_FAIL_OST_HANDLE_UNPACK)) {
CERROR("lustre_ost: Invalid request\n");
GOTO(out, rc);
}
}
if (req->rq_reqmsg->opc != OST_CONNECT &&
- req->rq_export == NULL)
+ req->rq_export == NULL) {
+ CERROR("lustre_ost: operation %d on unconnected OST\n",
+ req->rq_reqmsg->opc);
GOTO(out, rc = -ENOTCONN);
+ }
if (strcmp(req->rq_obd->obd_type->typ_name, "ost") != 0)
GOTO(out, rc = -EINVAL);