diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/file.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/file.h b/include/linux/file.h index 0114fbc78061..56023c74e9fd 100644 --- a/include/linux/file.h +++ b/include/linux/file.h | |||
| @@ -62,6 +62,15 @@ extern struct kmem_cache *filp_cachep; | |||
| 62 | extern void FASTCALL(__fput(struct file *)); | 62 | extern void FASTCALL(__fput(struct file *)); |
| 63 | extern void FASTCALL(fput(struct file *)); | 63 | extern void FASTCALL(fput(struct file *)); |
| 64 | 64 | ||
| 65 | struct file_operations; | ||
| 66 | struct vfsmount; | ||
| 67 | struct dentry; | ||
| 68 | extern int init_file(struct file *, struct vfsmount *mnt, | ||
| 69 | struct dentry *dentry, mode_t mode, | ||
| 70 | const struct file_operations *fop); | ||
| 71 | extern struct file *alloc_file(struct vfsmount *, struct dentry *dentry, | ||
| 72 | mode_t mode, const struct file_operations *fop); | ||
| 73 | |||
| 65 | static inline void fput_light(struct file *file, int fput_needed) | 74 | static inline void fput_light(struct file *file, int fput_needed) |
| 66 | { | 75 | { |
| 67 | if (unlikely(fput_needed)) | 76 | if (unlikely(fput_needed)) |
