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:
Miklos Szeredi
2012-06-05 15:10:27 +02:00
committed by Al Viro
parent e43ae79c54
commit 015c3bbcd8
4 changed files with 50 additions and 155 deletions

View File

@@ -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;