]> git.baikalelectronics.ru Git - kernel.git/commit
brlocks/lglocks: API cleanups
authorAndi Kleen <ak@linux.intel.com>
Tue, 8 May 2012 04:02:02 +0000 (13:32 +0930)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 30 May 2012 03:28:41 +0000 (23:28 -0400)
commitc74abb4e6b9242056bc54bd9d0eec7714b5680b7
tree0af9487fd8d5a73fa7adbde0bed368ada4298e39
parent1f79a5068eb08c2e4e4fd313f052378f7925006e
brlocks/lglocks: API cleanups

lglocks and brlocks are currently generated with some complicated macros
in lglock.h.  But there's no reason to not just use common utility
functions and put all the data into a common data structure.

In preparation, this patch changes the API to look more like normal
function calls with pointers, not magic macros.

The patch is rather large because I move over all users in one go to keep
it bisectable.  This impacts the VFS somewhat in terms of lines changed.
But no actual behaviour change.

[akpm@linux-foundation.org: checkpatch fixes]
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c
fs/file_table.c
fs/namei.c
fs/namespace.c
fs/pnode.c
fs/proc_namespace.c