Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
void tgt_grant_discard(struct obd_export *exp)
...
if (tgd->tgd_tot_granted < ted->ted_grant) {
CERROR("%s: tot_granted %llu < cli %s/%p ted_grant %ld\n",
obd->obd_name, tgd->tgd_tot_granted,
exp->exp_client_uuid.uuid, exp, ted->ted_grant);
}
tgd->tgd_tot_granted -= ted->ted_grant;
...
If tgd->tgd_tot_granted < ted->ted_grant the decrement makes tgd_tot_granted too big.