]> git.baikalelectronics.ru Git - kernel.git/commit
fsnotify/fdinfo: include fdinfo.h for inotify_show_fdinfo()
authorEric Biggers <ebiggers@google.com>
Thu, 15 Nov 2018 00:12:14 +0000 (16:12 -0800)
committerJan Kara <jack@suse.cz>
Thu, 15 Nov 2018 16:34:27 +0000 (17:34 +0100)
commit50db79d13e50db5a4a1029ce69861cfc7efe4f00
tree80d3661f0e60d4c13cabd63adf4205def68182e6
parent75bc6eab6e5493fa4de01549536c59e8821bc874
fsnotify/fdinfo: include fdinfo.h for inotify_show_fdinfo()

inotify_show_fdinfo() is defined in fs/notify/fdinfo.c and declared in
fs/notify/fdinfo.h, but the declaration isn't included at the point of
the definition.  Include the header to enforce that the definition
matches the declaration.

This addresses a gcc warning when -Wmissing-prototypes is enabled.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fdinfo.c