Commit ce528c4c authored by YueHaibing's avatar YueHaibing Committed by Linus Torvalds

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.comSigned-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b556db17
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment