projects
/
wrapfs-4.6.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d816189
)
Wrapfs: dentry_open now takes a struct path
author
Erez Zadok
<ezk@cs.sunysb.edu>
Wed, 5 Jun 2013 03:19:28 +0000
(23:19 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 27 Dec 2016 19:05:01 +0000
(14:05 -0500)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/wrapfs/file.c
patch
|
blob
|
history
diff --git
a/fs/wrapfs/file.c
b/fs/wrapfs/file.c
index f9c99ad03481ac408d29883a447c0e8eff4636d2..22b33a273bd0037a243f77e7ae8ad222382cc0b3 100644
(file)
--- a/
fs/wrapfs/file.c
+++ b/
fs/wrapfs/file.c
@@
-185,8
+185,7
@@
static int wrapfs_open(struct inode *inode, struct file *file)
/* open lower object and link wrapfs's file struct to lower's */
wrapfs_get_lower_path(file->f_path.dentry, &lower_path);
- lower_file = dentry_open(lower_path.dentry, lower_path.mnt,
- file->f_flags, current_cred());
+ lower_file = dentry_open(&lower_path, file->f_flags, current_cred());
if (IS_ERR(lower_file)) {
err = PTR_ERR(lower_file);
lower_file = wrapfs_lower_file(file);