diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 9c75714f92c1..bf5c3c896072 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1990,6 +1990,8 @@ extern int do_fallocate(struct file *file, int mode, loff_t offset, | |||
1990 | extern long do_sys_open(int dfd, const char __user *filename, int flags, | 1990 | extern long do_sys_open(int dfd, const char __user *filename, int flags, |
1991 | int mode); | 1991 | int mode); |
1992 | extern struct file *filp_open(const char *, int, int); | 1992 | extern struct file *filp_open(const char *, int, int); |
1993 | extern struct file *file_open_root(struct dentry *, struct vfsmount *, | ||
1994 | const char *, int); | ||
1993 | extern struct file * dentry_open(struct dentry *, struct vfsmount *, int, | 1995 | extern struct file * dentry_open(struct dentry *, struct vfsmount *, int, |
1994 | const struct cred *); | 1996 | const struct cred *); |
1995 | extern int filp_close(struct file *, fl_owner_t id); | 1997 | extern int filp_close(struct file *, fl_owner_t id); |
@@ -2205,8 +2207,6 @@ extern struct file *create_read_pipe(struct file *f, int flags); | |||
2205 | extern struct file *create_write_pipe(int flags); | 2207 | extern struct file *create_write_pipe(int flags); |
2206 | extern void free_write_pipe(struct file *); | 2208 | extern void free_write_pipe(struct file *); |
2207 | 2209 | ||
2208 | extern int may_open(struct path *, int, int); | ||
2209 | |||
2210 | extern int kernel_read(struct file *, loff_t, char *, unsigned long); | 2210 | extern int kernel_read(struct file *, loff_t, char *, unsigned long); |
2211 | extern struct file * open_exec(const char *); | 2211 | extern struct file * open_exec(const char *); |
2212 | 2212 | ||