Whamcloud - gitweb
LU-2504 procfs: Call put_cpu() if stats alloc fails
authorJohn L. Hammond <jhammond@tacc.utexas.edu>
Mon, 17 Dec 2012 23:34:57 +0000 (17:34 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Jan 2013 05:31:12 +0000 (00:31 -0500)
commit3857faaaa1dfe89f903c9a3e1f35eba32595801d
tree61b0f79991dafe825f5fd24c45e5d810ea037718
parent2668b5ab52f1a004c4d4383c648d0184467b8a2f
LU-2504 procfs: Call put_cpu() if stats alloc fails

Call put_cpu() if lprocfs_stats_alloc_one() fails in
lprocfs_stats_lock().

Signed-off-by: John L. Hammond <jhammond@tacc.utexas.edu>
Change-Id: I12c3eb9ecbbef3086493d63c300ddb853d86dd98
Reviewed-on: http://review.whamcloud.com/4845
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lprocfs_status.h