get rid of cred argument of vfs_open() and do_dentry_open()
[linux-block.git] / fs / internal.h
index 980d005b21b4111084ab7a56b17fda7e5b1320f5..baeab53aeaffd4e51bd86f1d214e513003e07e58 100644 (file)
@@ -93,7 +93,7 @@ extern void chroot_fs_refs(const struct path *, const struct path *);
 /*
  * file_table.c
  */
-extern struct file *get_empty_filp(void);
+extern struct file *alloc_empty_file(int, const struct cred *);
 
 /*
  * super.c
@@ -126,8 +126,7 @@ int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group,
                int flag);
 
 extern int open_check_o_direct(struct file *f);
-extern int vfs_open(const struct path *, struct file *, const struct cred *);
-extern struct file *filp_clone_open(struct file *);
+extern int vfs_open(const struct path *, struct file *);
 
 /*
  * inode.c