2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 23:23:55 +08:00
linux-next/fs/exofs
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
..
BUGS exofs: Documentation 2009-03-31 19:44:38 +03:00
common.h Boaz Harrosh - Fix broken email address 2014-10-19 20:22:32 +03:00
dir.c fs: exofs: print a hex number after a 0x prefix 2016-10-27 18:43:43 -07:00
exofs.h exofs: switch to {simple,page}_symlink_inode_operations 2015-05-10 22:18:27 -04:00
file.c wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
inode.c exofs: don't mess with simple_write_{begin,end} 2016-12-10 14:25:19 -05:00
Kbuild exofs: switch to {simple,page}_symlink_inode_operations 2015-05-10 22:18:27 -04:00
Kconfig ore: FIX breakage when MISC_FILESYSTEMS is not set 2012-01-06 16:48:14 +02:00
Kconfig.ore ore: Support for raid 6 2014-05-22 14:48:15 +03:00
namei.c Merge remote-tracking branch 'ovl/rename2' into for-linus 2016-10-10 23:02:51 -04:00
ore_raid.c Boaz Harrosh - Fix broken email address 2014-10-19 20:22:32 +03:00
ore_raid.h Boaz Harrosh - Fix broken email address 2014-10-19 20:22:32 +03:00
ore.c block, fs, mm, drivers: use bio set/get op accessors 2016-06-07 13:41:38 -06:00
super.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2016-05-17 17:05:30 -07:00
sys.c locking/atomic, kref: Add kref_read() 2017-01-14 11:37:18 +01:00