diff options
Diffstat (limited to 'fs/internal.h')
-rw-r--r-- | fs/internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h index 9b976b57d7f..6fdbdf2c604 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -106,6 +106,14 @@ extern void put_super(struct super_block *sb); struct nameidata; extern struct file *nameidata_to_filp(struct nameidata *); extern void release_open_intent(struct nameidata *); +struct open_flags { + int open_flag; + int mode; + int acc_mode; + int intent; +}; +extern struct file *do_filp_open(int dfd, const char *pathname, + const struct open_flags *op, int lookup_flags); /* * inode.c |