diff options
Diffstat (limited to 'include/linux/file.h')
-rw-r--r-- | include/linux/file.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/file.h b/include/linux/file.h index aed45d69811e..5b25388f2f79 100644 --- a/include/linux/file.h +++ b/include/linux/file.h | |||
@@ -17,9 +17,12 @@ extern void fput(struct file *); | |||
17 | struct file_operations; | 17 | struct file_operations; |
18 | struct vfsmount; | 18 | struct vfsmount; |
19 | struct dentry; | 19 | struct dentry; |
20 | struct inode; | ||
20 | struct path; | 21 | struct path; |
21 | extern struct file *alloc_file(const struct path *, int flags, | 22 | extern struct file *alloc_file(const struct path *, int flags, |
22 | const struct file_operations *fop); | 23 | const struct file_operations *fop); |
24 | extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *, | ||
25 | const char *, int flags, const struct file_operations *); | ||
23 | 26 | ||
24 | static inline void fput_light(struct file *file, int fput_needed) | 27 | static inline void fput_light(struct file *file, int fput_needed) |
25 | { | 28 | { |