Merge branch 'sparc-perf-events-fixes-for-linus' of git://git.kernel.org/pub/scm...
[safe/jmp/linux-2.6] / include / linux / anon_inodes.h
index 6129e58..69a21e0 100644 (file)
@@ -8,8 +8,11 @@
 #ifndef _LINUX_ANON_INODES_H
 #define _LINUX_ANON_INODES_H
 
+struct file *anon_inode_getfile(const char *name,
+                               const struct file_operations *fops,
+                               void *priv, int flags);
 int anon_inode_getfd(const char *name, const struct file_operations *fops,
-                    void *priv);
+                    void *priv, int flags);
 
 #endif /* _LINUX_ANON_INODES_H */