mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
fs/eventfd.c: make eventfd_ida static
Fix sparse warning: fs/eventfd.c:26:1: warning: symbol 'eventfd_ida' was not declared. Should it be static? Link: http://lkml.kernel.org/r/20190413142348.34716-1-yuehaibing@huawei.com Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b556db17b0
commit
ce528c4c20
@ -23,7 +23,7 @@
|
||||
#include <linux/seq_file.h>
|
||||
#include <linux/idr.h>
|
||||
|
||||
DEFINE_IDA(eventfd_ida);
|
||||
static DEFINE_IDA(eventfd_ida);
|
||||
|
||||
struct eventfd_ctx {
|
||||
struct kref kref;
|
||||
|
Loading…
Reference in New Issue
Block a user