diff options
author | Christoph Hellwig <hch@lst.de> | 2008-10-24 03:58:10 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-12-31 18:07:41 -0500 |
commit | 3fb64190aa3c23c10e6e9fd0124ac030115c99bf (patch) | |
tree | 6b7b5452d2abbe7964803d8a95c03e5612c8e607 /include/linux/fs.h | |
parent | b4091d5f6fde28ab762e1094a1a26d81f3badfa5 (diff) |
pass a struct path * to may_open
No need for the nameidata in may_open - a struct path is enough.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index c5e4c5c74034..3468df5a06e0 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1869,7 +1869,7 @@ extern void free_write_pipe(struct file *); | |||
1869 | 1869 | ||
1870 | extern struct file *do_filp_open(int dfd, const char *pathname, | 1870 | extern struct file *do_filp_open(int dfd, const char *pathname, |
1871 | int open_flag, int mode); | 1871 | int open_flag, int mode); |
1872 | extern int may_open(struct nameidata *, int, int); | 1872 | extern int may_open(struct path *, int, int); |
1873 | 1873 | ||
1874 | extern int kernel_read(struct file *, unsigned long, char *, unsigned long); | 1874 | extern int kernel_read(struct file *, unsigned long, char *, unsigned long); |
1875 | extern struct file * open_exec(const char *); | 1875 | extern struct file * open_exec(const char *); |