void ptlrpcd_decref(void);
/* ptlrpc/lproc_ptlrpc.c */
+const char* ll_opcode2str(__u32 opcode);
#ifdef LPROCFS
void ptlrpc_lprocfs_register_obd(struct obd_device *obd);
void ptlrpc_lprocfs_unregister_obd(struct obd_device *obd);
/* Processed in mgs_write_log_ost */
if (class_match_param(ptr, PARAM_FAILMODE, NULL) == 0) {
if (mti->mti_flags & LDD_F_PARAM) {
- LCONSOLE_ERROR("%s can only be changed with "
- "tunefs.lustre and --writeconf\n",
- ptr);
+ LCONSOLE_ERROR(0x169, "%s can only be changed "
+ "with tunefs.lustre and "
+ "--writeconf\n", ptr);
rc = -EPERM;
}
goto end_while;
/* Actually servers are only supposed to refuse
connection from liblustre clients, so we should
never see this from VFS context */
- LCONSOLE_ERROR("Server %s version (%d.%d.%d.%d)"
+ LCONSOLE_ERROR(0x16a, "Server %s version "
+ "(%d.%d.%d.%d)"
" refused connection from this client "
"with an incompatible version (%s). "
"Client must be recompiled\n",