[LU-2504] lprocfs_stats_lock() should call put_cpu() if lprocfs_stats_alloc_one() fails Created: 17/Dec/12 Updated: 08/Jan/13 Resolved: 08/Jan/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: | Keith Mannthey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch, procfs | ||
| Severity: | 3 |
| Rank (Obsolete): | 5874 |
| Description |
|
If lprocfs_stats_alloc_one() fails then lprocfs_stats_lock() will return -1 and callers will not call put_cpu(). |
| Comments |
| Comment by John Hammond [ 17/Dec/12 ] |
|
Please see http://review.whamcloud.com/4845. |
| Comment by Peter Jones [ 08/Jan/13 ] |
|
Landed for 2.4 |