]> Pileus Git - ~andy/linux/blobdiff - fs/internal.h
audit: inline audit_free to simplify the look of generic code
[~andy/linux] / fs / internal.h
index 7b1cb1528ac25b214c994c40e9da90f091adbcf7..9962c59ba280b1c75d78adc55b8491733075a5e0 100644 (file)
@@ -15,6 +15,7 @@ struct super_block;
 struct file_system_type;
 struct linux_binprm;
 struct path;
+struct mount;
 
 /*
  * block_dev.c
@@ -46,12 +47,12 @@ extern void __init chrdev_init(void);
 extern int copy_mount_options(const void __user *, unsigned long *);
 extern int copy_mount_string(const void __user *, char **);
 
-extern struct vfsmount *__lookup_mnt(struct vfsmount *, struct dentry *, int);
 extern struct vfsmount *lookup_mnt(struct path *);
 extern int finish_automount(struct vfsmount *, struct path *);
 
 extern void mnt_make_longterm(struct vfsmount *);
 extern void mnt_make_shortterm(struct vfsmount *);
+extern int sb_prepare_remount_readonly(struct super_block *);
 
 extern void __init mnt_init(void);
 
@@ -88,7 +89,7 @@ extern struct file *nameidata_to_filp(struct nameidata *);
 extern void release_open_intent(struct nameidata *);
 struct open_flags {
        int open_flag;
-       int mode;
+       umode_t mode;
        int acc_mode;
        int intent;
 };