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:
YueHaibing 2019-05-14 15:45:22 -07:00 committed by Linus Torvalds
parent b556db17b0
commit ce528c4c20
1 changed files with 1 additions and 1 deletions

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;