[LU-3203] check result of dt_trans_create() using IS_ERR() Created: 22/Apr/13 Updated: 01/May/13 Resolved: 01/May/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | Lustre 2.4.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | mdd | ||
| Severity: | 3 |
| Rank (Obsolete): | 7823 |
| Description |
|
Several calls to dt_trans_create() or its wrappers are not checking for error. Some functions may pass err ptrs to dt_trans_stop(). In local_oid_storage_init() the error path following failure in dt_trans_create() is incorrect. |
| Comments |
| Comment by John Hammond [ 22/Apr/13 ] |
|
Please see http://review.whamcloud.com/6117. |
| Comment by John Hammond [ 01/May/13 ] |
|
Patch landed to master. |