vfs: remove open intents from nameidata
All users of open intents have been converted to use ->atomic_{open,create}. This patch gets rid of nd->intent.open and related infrastructure. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -82,13 +82,10 @@ extern struct super_block *user_get_super(dev_t);
|
||||
/*
|
||||
* open.c
|
||||
*/
|
||||
struct nameidata;
|
||||
extern struct file *nameidata_to_filp(struct nameidata *);
|
||||
extern void release_open_intent(struct nameidata *);
|
||||
struct opendata {
|
||||
struct dentry *dentry;
|
||||
struct vfsmount *mnt;
|
||||
struct file **filp;
|
||||
struct file *filp;
|
||||
};
|
||||
struct open_flags {
|
||||
int open_flag;
|
||||
|
Reference in New Issue
Block a user