fsnotify/fdinfo: include fdinfo.h for inotify_show_fdinfo()
mainline inclusion from mainline-5.0-rc1 commit d6f7aa9820f21a879af8ceda17b2ebd1cf4beb25 category: bugfix bugzilla: 10640 CVE: NA --------------------------- 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: NEric Biggers <ebiggers@google.com> Signed-off-by: NJan Kara <jack@suse.cz> Signed-off-by: Nyangerkun <yangerkun@huawei.com> Reviewed-by: Nzhangyi (F) <yi.zhang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录