Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

anonfd: fix missing declaration

The forward declaration of struct file_operations is
added to avoid compilation warnings.

Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

authored by

Tomasz Stanislawski and committed by
Al Viro
e46ebd27 8daaa831

+2
+2
include/linux/anon_inodes.h
··· 8 8 #ifndef _LINUX_ANON_INODES_H 9 9 #define _LINUX_ANON_INODES_H 10 10 11 + struct file_operations; 12 + 11 13 struct file *anon_inode_getfile(const char *name, 12 14 const struct file_operations *fops, 13 15 void *priv, int flags);