[LU-6692] distribute_txn_commit_batchid_update forgets to check return value of dt_trans_cb_add Created: 05/Jun/15 Updated: 14/Jul/15 Resolved: 14/Jul/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Oleg Drokin | Assignee: | Di Wang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
In distribute_txn_commit_batchid_update: rc = dt_trans_start_local(env, tdtd->tdtd_lut->lut_bottom, th);
if (rc < 0)
GOTO(stop, rc);
dt_trans_cb_add(th, &dtbd->dtbd_cb);
if (rc < 0)
GOTO(stop, rc);
Clearly there's an rc assignment missing? |
| Comments |
| Comment by Di Wang [ 14/Jul/15 ] |
|
http://review.whamcloud.com/#/c/12825/ already fixed the issue. |