Needed to release the resources of the lower nameidata structures that we
create and pass to lower file systems (e.g., when calling vfs_create).
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fput(file);
}
}
+EXPORT_SYMBOL_GPL(release_open_intent);
static inline int d_revalidate(struct dentry *dentry, struct nameidata *nd)
{
extern struct file *lookup_instantiate_filp(struct nameidata *nd, struct dentry *dentry,
int (*open)(struct inode *, struct file *));
+extern void release_open_intent(struct nameidata *);
extern struct dentry *lookup_one_len(const char *, struct dentry *, int);