[LU-5452] request leak in lmv_revalidate_slaves() Created: 05/Aug/14 Updated: 18/Feb/15 Resolved: 18/Feb/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.7.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | lmv | ||
| Severity: | 3 |
| Rank (Obsolete): | 15173 |
| Description |
|
In lmv_revalidate_slaves() it may happen that md_intent_lock() fails but leaves us with a reference to the request. In this case the request will be leaked: rc = md_intent_lock(tgt->ltd_exp, op_data, &it, &req,
cb_blocking, extra_lock_flags);
if (rc < 0)
GOTO(cleanup, rc);
...
cleanup:
OBD_FREE_PTR(op_data);
RETURN(rc);
}
|
| Comments |
| Comment by John Hammond [ 05/Aug/14 ] |
|
Please see http://review.whamcloud.com/11326. |
| Comment by Jodi Levi (Inactive) [ 18/Feb/15 ] |
|
Patch landed to Master. |