diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/file.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/file.h b/include/linux/file.h index 6a8d3612eb2a..5555508fd517 100644 --- a/include/linux/file.h +++ b/include/linux/file.h | |||
@@ -18,8 +18,9 @@ extern void drop_file_write_access(struct file *file); | |||
18 | struct file_operations; | 18 | struct file_operations; |
19 | struct vfsmount; | 19 | struct vfsmount; |
20 | struct dentry; | 20 | struct dentry; |
21 | extern struct file *alloc_file(struct vfsmount *, struct dentry *dentry, | 21 | struct path; |
22 | fmode_t mode, const struct file_operations *fop); | 22 | extern struct file *alloc_file(struct path *, fmode_t mode, |
23 | const struct file_operations *fop); | ||
23 | 24 | ||
24 | static inline void fput_light(struct file *file, int fput_needed) | 25 | static inline void fput_light(struct file *file, int fput_needed) |
25 | { | 26 | { |