Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
3
-
9223372036854775807
Description
Highlighted by smatch in nodemap_create:
...
rc = nm_member_init_hash(nodemap);
if (rc != 0) {
OBD_FREE_PTR(nodemap);
goto out;
}
... (not touching rc at all)
if (rc == 0) {
nodemap_putref(nodemap);
goto out;
}
CERROR("cannot add nodemap: '%s': rc = %d\n", name, rc);
nodemap_destroy(nodemap);
out:
return rc;
I wonder if this is a stub waiting for some more code or something was forgotten or what?
Attachments
Issue Links
- is related to
-
LU-5092
nodemap: transfer idmaps between MGS, MDT, OST
-
- Resolved
-