Get rid of passing mangled flag to do_last()
[safe/jmp/linux-2.6] / include / linux / anon_inodes.h
index b2e1ba3..69a21e0 100644 (file)
@@ -8,9 +8,11 @@
 #ifndef _LINUX_ANON_INODES_H
 #define _LINUX_ANON_INODES_H
 
-int anon_inode_getfd(int *pfd, struct inode **pinode, struct file **pfile,
-                    const char *name, const struct file_operations *fops,
-                    void *priv);
+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, int flags);
 
 #endif /* _LINUX_ANON_INODES_H */