[LU-4078] bad ERR_PTR() use in mdc_locks.c Created: 08/Oct/13 Updated: 28/Oct/13 Resolved: 28/Oct/13 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.5.0 |
| Fix Version/s: | Lustre 2.6.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | mdc | ||
| Severity: | 3 |
| Rank (Obsolete): | 10943 |
| Description |
|
mdc_intent_open_pack() returns NULL and ERR_PTR() while its caller mdc_enqueue() only checks its return value using IS_ERR(). mdc_intent_getattr_pack() returns ERR_PTRs but mdc_intent_getattr_async() checks its return value by comparing to NULL. |
| Comments |
| Comment by John Hammond [ 08/Oct/13 ] |
|
Please see http://review.whamcloud.com/7886. |
| Comment by John Hammond [ 28/Oct/13 ] |
|
Patch landed to master. |