mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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:
parent
e43ae79c54
commit
015c3bbcd8
4 changed files with 48 additions and 153 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue