vfs: open inside ->tmpfile()
[linux-2.6-block.git] / include / linux / dcache.h
index 92c78ed02b54d5bf59c9f5c7506dcf0c6afc1512..bde9f8ff88695fcd269097e8443ca4f4b46d1631 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/wait.h>
 
 struct path;
+struct file;
 struct vfsmount;
 
 /*
@@ -250,7 +251,7 @@ extern struct dentry * d_make_root(struct inode *);
 /* <clickety>-<click> the ramfs-type tree */
 extern void d_genocide(struct dentry *);
 
-extern void d_tmpfile(struct dentry *, struct inode *);
+extern void d_tmpfile(struct file *, struct inode *);
 
 extern struct dentry *d_find_alias(struct inode *);
 extern void d_prune_aliases(struct inode *);