aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-10-24 03:58:10 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-12-31 18:07:41 -0500
commit3fb64190aa3c23c10e6e9fd0124ac030115c99bf (patch)
tree6b7b5452d2abbe7964803d8a95c03e5612c8e607 /include/linux/fs.h
parentb4091d5f6fde28ab762e1094a1a26d81f3badfa5 (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.h2
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
1870extern struct file *do_filp_open(int dfd, const char *pathname, 1870extern struct file *do_filp_open(int dfd, const char *pathname,
1871 int open_flag, int mode); 1871 int open_flag, int mode);
1872extern int may_open(struct nameidata *, int, int); 1872extern int may_open(struct path *, int, int);
1873 1873
1874extern int kernel_read(struct file *, unsigned long, char *, unsigned long); 1874extern int kernel_read(struct file *, unsigned long, char *, unsigned long);
1875extern struct file * open_exec(const char *); 1875extern struct file * open_exec(const char *);