RETURN(-EINVAL);
}
- if (!OBP(obd, notify)) {
- CERROR("obd %s has no notify handler\n", obd->obd_name);
+ if (!OBP(obd, notify))
RETURN(-ENOSYS);
- }
OBD_COUNTER_INCREMENT(obd, notify);
RETURN(OBP(obd, notify)(obd, watched, ev, data));
/* uuid.c */
typedef __u8 class_uuid_t[16];
-void class_generate_random_uuid(class_uuid_t uuid);
void class_uuid_unparse(class_uuid_t in, struct obd_uuid *out);
/* lustre_peer.c */
void class_init_uuidlist(void);
void class_exit_uuidlist(void);
+/* prng.c */
+void ll_generate_random_uuid(class_uuid_t uuid_out);
+
#endif /* __LINUX_OBD_CLASS_H */