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 <[email protected]>
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Miklos Szeredi 2012-06-05 15:10:27 +02:00 • committed by Al Viro
commit 015c3bbcd8
4 changed files with 48 additions and 153 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;