]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/internal.h
switch do_filp_open() to struct open_flags
[mirror_ubuntu-bionic-kernel.git] / fs / internal.h
index 0663568b1247f88a0ca57ad19b8f9c7d36680f8e..6fdbdf2c60479fa2b4fc265590375f38b077ed0f 100644 (file)
@@ -106,10 +106,18 @@ 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
  */
 extern int get_nr_dirty_inodes(void);
 extern void evict_inodes(struct super_block *);
-extern int invalidate_inodes(struct super_block *);
+extern int invalidate_inodes(struct super_block *, bool);