Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
fs
/
nfs
/
nfs4file.c
diff --git
a/kernel/fs/nfs/nfs4file.c
b/kernel/fs/nfs/nfs4file.c
index
db9b5fe
..
679e003
100644
(file)
--- a/
kernel/fs/nfs/nfs4file.c
+++ b/
kernel/fs/nfs/nfs4file.c
@@
-26,7
+26,7
@@
static int
nfs4_file_open(struct inode *inode, struct file *filp)
{
struct nfs_open_context *ctx;
nfs4_file_open(struct inode *inode, struct file *filp)
{
struct nfs_open_context *ctx;
- struct dentry *dentry = fil
p->f_path.dentry
;
+ struct dentry *dentry = fil
e_dentry(filp)
;
struct dentry *parent = NULL;
struct inode *dir;
unsigned openflags = filp->f_flags;
struct dentry *parent = NULL;
struct inode *dir;
unsigned openflags = filp->f_flags;
@@
-57,7
+57,7
@@
nfs4_file_open(struct inode *inode, struct file *filp)
parent = dget_parent(dentry);
dir = d_inode(parent);
parent = dget_parent(dentry);
dir = d_inode(parent);
- ctx = alloc_nfs_open_context(fil
p->f_path.dentry
, filp->f_mode);
+ ctx = alloc_nfs_open_context(fil
e_dentry(filp)
, filp->f_mode);
err = PTR_ERR(ctx);
if (IS_ERR(ctx))
goto out;
err = PTR_ERR(ctx);
if (IS_ERR(ctx))
goto out;