linux/drivers/scsi/cxgbi
Peter Zijlstra 2c935bc572 locking/atomic, kref: Add kref_read()
Since we need to change the implementation, stop exposing internals.

Provide kref_read() to read the current reference count; typically
used for debug messages.

Kills two anti-patterns:

	atomic_read(&kref->refcount)
	kref->refcount.counter

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-01-14 11:37:18 +01:00
..
cxgb3i cxgb3i, cxgb4i: fix symbol not declared sparse warning 2016-07-25 10:31:09 -07:00
cxgb4i scsi: cxgb4i: libcxgbi: add missing module_put() 2016-12-14 15:11:17 -05:00
Kconfig [SCSI] cxgb3i: change cxgb3i to use libcxgbi 2010-09-05 14:29:23 -03:00
libcxgbi.c scsi: libcxgbi: return error if interface is not up 2016-12-14 15:11:53 -05:00
libcxgbi.h locking/atomic, kref: Add kref_read() 2017-01-14 11:37:18 +01:00
Makefile cxgb4i,libcxgbi: add iSCSI DDP support 2016-07-25 10:31:08 -07:00