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/[email protected]
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
YueHaibing 2019-05-14 15:45:22 -07:00 • committed by Linus Torvalds
commit ce528c4c20

View file

@ -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;