]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/file.h
Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-x86
[linux-2.6-omap-h63xx.git] / include / linux / file.h
index 0114fbc78061249fc765e8197fb06f5a512a6ea9..56023c74e9fd65ec1b3c559da66a271435f15067 100644 (file)
@@ -62,6 +62,15 @@ extern struct kmem_cache *filp_cachep;
 extern void FASTCALL(__fput(struct file *));
 extern void FASTCALL(fput(struct file *));
 
+struct file_operations;
+struct vfsmount;
+struct dentry;
+extern int init_file(struct file *, struct vfsmount *mnt,
+               struct dentry *dentry, mode_t mode,
+               const struct file_operations *fop);
+extern struct file *alloc_file(struct vfsmount *, struct dentry *dentry,
+               mode_t mode, const struct file_operations *fop);
+
 static inline void fput_light(struct file *file, int fput_needed)
 {
        if (unlikely(fput_needed))