projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fuse: fix fuse_write_end() if zero bytes were copied
[firefly-linux-kernel-4.4.55.git]
/
fs
/
nfs
/
inode.c
diff --git
a/fs/nfs/inode.c
b/fs/nfs/inode.c
index 3e2071a177fd029e043b34018b7628d8c6b03309..f714b98cfd744d435238b02713df053a77ee0d34 100644
(file)
--- a/
fs/nfs/inode.c
+++ b/
fs/nfs/inode.c
@@
-927,7
+927,7
@@
int nfs_open(struct inode *inode, struct file *filp)
{
struct nfs_open_context *ctx;
- 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);
if (IS_ERR(ctx))
return PTR_ERR(ctx);
nfs_file_set_open_context(filp, ctx);