android_kernel_motorola_sm6375/fs/exofs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
2017-01-14 11:37:18 +01:00
..
BUGS
common.h
dir.c
exofs.h
file.c
inode.c
Kbuild
Kconfig
Kconfig.ore
namei.c
ore.c
ore_raid.c
ore_raid.h
super.c
sys.c locking/atomic, kref: Add kref_read() 2017-01-14 11:37:18 +01:00