summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2012-06-05 15:10:27 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-14 16:33:18 +0400
commit015c3bbcd88df2305aae5b017a9c91c08b380aa1 (patch)
tree25f5e936ad16eddda39477a64addb4b54970bbd2 /fs/internal.h
parente43ae79c540270865918dab5ac914c74f43101e2 (diff)
downloadop-kernel-dev-015c3bbcd88df2305aae5b017a9c91c08b380aa1.zip
op-kernel-dev-015c3bbcd88df2305aae5b017a9c91c08b380aa1.tar.gz
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>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/internal.h b/fs/internal.h
index 7006777..ae69a3b 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -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;
OpenPOWER on IntegriCloud