lglock: add DEFINE_STATIC_LGLOCK()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 9 Oct 2012 21:49:54 +0000 (14:49 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 10 Oct 2012 05:15:44 +0000 (01:15 -0400)
commit4b2c551f77f5a0c496e2125b1d883f4b26aabf2c
tree13b861ea27340133a057b1a9e90fa5be8b4d1283
parent466cab878ef98a0618734a1fa64a02e5fbf90867
lglock: add DEFINE_STATIC_LGLOCK()

When the lglock doesn't need to be exported we can use
DEFINE_STATIC_LGLOCK().

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file_table.c
include/linux/lglock.h