[LU-7876] Suspect locking cleanup in mdt_reint_migrate_internal() Created: 14/Mar/16  Updated: 14/Jan/18  Resolved: 14/Jan/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.11.0

Type: Bug Priority: Minor
Reporter: Oleg Drokin Assignee: Lai Siyao
Resolution: Not a Bug Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In mdt_reint_migrate_internal():

        rc = mdt_reint_object_lock(info, mold, lh_childp, lock_ibits, true);
        if (rc != 0)
                GOTO(out_unlock_child, rc);
...
out_unlock_child:
        mdt_object_unlock(info, mold, lh_childp, rc);
out_unlock_list:
...

I guess the GOTO should be to out_unlock_list on failure?



 Comments   
Comment by Peter Jones [ 14/Dec/17 ]

Lai

Can you please look into this one?

Peter

Comment by Lai Siyao [ 03/Jan/18 ]

please refer to LU-7875.

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