IB/qib: Correct reference counting in debugfs qp_stats

commit 85cbb7c728 upstream.

This particular reference count is not needed with the rcu protection,
and the current code leaks a reference count, causing a hang in
qib_qp_destroy().

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Mike Marciniszyn 2014-09-19 08:32:19 -04:00 • committed by Greg Kroah-Hartman
commit dcbcb3f648
2 changed files with 2 additions and 9 deletions