percpu-refcount: improve WARN messages
authorTejun Heo <tj@kernel.org>
Sat, 20 Sep 2014 05:27:24 +0000 (01:27 -0400)
committerTejun Heo <tj@kernel.org>
Sat, 20 Sep 2014 05:27:24 +0000 (01:27 -0400)
percpu_ref's WARN messages can be a lot more helpful by indicating
who's the culprit.  Make them report the release function that the
offending percpu-refcount is associated with.  This should make it a
lot easier to track down the reported invalid refcnting operations.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Kent Overstreet <kmo@daterainc.com>
lib/percpu-refcount.c

Simple merge