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.
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45490/
Subject:
LU-14543target: prevent overflowing of tgd->tgd_tot_grantedProject: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 5cbc184fbc10fd3d6c23ec3b8b687ffb34a64138