Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
Lustre 2.17.0
-
3
-
9223372036854775807
Description
smatch highlights this issue in lov_add_mdc_target() :
if (!lmv_obd) { CERROR("%s: cannot find LMV OBD by UUID (%s)\n", lov_obd->obd_name, obd_uuid2str(&lmv_obd->obd_uuid)); RETURN(-ENODEV);
lmv_obd is clearly NULL here, so attempting to print uuid of i would result in a crash.
It's likely this condition was never hit, but I am not sure if it's jus ta typo and we wanted uuid of the lov_obd together with the name, or if we need to drop it altogether.