locking/atomic, kref: Kill kref_sub()
authorPeter Zijlstra <peterz@infradead.org>
Mon, 14 Nov 2016 16:34:19 +0000 (17:34 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 14 Jan 2017 10:37:19 +0000 (11:37 +0100)
commitbdfafc4ffdd24e491119d81f85ddc4393fa49803
tree5e6242cad2ee8d473d457f9d95b3f9a7820865a0
parent2c935bc57221cc2edc787c72ea0e2d30cdcd3d5e
locking/atomic, kref: Kill kref_sub()

By general sentiment kref_sub() is a bad interface, make it go away.

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>
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_req.c
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_execbuf_util.c
include/drm/ttm/ttm_bo_api.h
include/linux/kref.h