[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

Generated at Sat Feb 10 01:25:46 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.