[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.

Generated at Sat Feb 10 02:02:25 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.