Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.8.0
-
None
-
3
-
9223372036854775807
Description
thandle_get_sub_by_dt function dereferences PTR_ERR pointer:
st = create_sub_thandle_with_thandle(top_th,
top_th->tt_master_sub_thandle);
if (IS_ERR(st))
GOTO(stop_trans, rc = PTR_ERR(st));
....
stop_trans:
if (rc < 0) {
if (st != NULL)
OBD_FREE_PTR(st);