aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2012-05-08 13:32:24 +0930
committerZiyan <jaraidaniel@gmail.com>2016-03-11 16:07:09 +0100
commit65a56f6cfce5a348d7584e4615b682e1a124d6d2 (patch)
treea79b350356092da411da7a15a35aada63056c7b2 /fs/namespace.c
parent25d8aaf9023db76d8107a5af465fb99d0a732533 (diff)
downloadkernel_samsung_espresso10-65a56f6cfce5a348d7584e4615b682e1a124d6d2.zip
kernel_samsung_espresso10-65a56f6cfce5a348d7584e4615b682e1a124d6d2.tar.gz
kernel_samsung_espresso10-65a56f6cfce5a348d7584e4615b682e1a124d6d2.tar.bz2
brlocks/lglocks: turn into functions
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. Since there are at least two users it makes sense to share this code in a library. This is also easier maintainable than a macro forest. This will also make it later possible to dynamically allocate lglocks and also use them in modules (this would both still need some additional, but now straightforward, code) [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> (cherry picked from commit eea62f831b8030b0eeea8314eed73b6132d1de26)
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions