|
@@ -2424,6 +2424,8 @@ extern struct file *filp_open(const char *, int, umode_t);
|
|
|
extern struct file *file_open_root(struct dentry *, struct vfsmount *,
|
|
|
const char *, int, umode_t);
|
|
|
extern struct file * dentry_open(const struct path *, int, const struct cred *);
|
|
|
+extern struct file * open_with_fake_path(const struct path *, int,
|
|
|
+ struct inode*, const struct cred *);
|
|
|
static inline struct file *file_clone_open(struct file *file)
|
|
|
{
|
|
|
return dentry_open(&file->f_path, file->f_flags, file->f_cred);
|