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
NFS: Fix post-op attribute revalidation...
[firefly-linux-kernel-4.4.55.git]
/
fs
/
nfs
/
proc.c
diff --git
a/fs/nfs/proc.c
b/fs/nfs/proc.c
index a48a003242c006c94f8823fdc081d3c03289289e..e1e3ca5d746be50946fd1a833402765f511e436a 100644
(file)
--- a/
fs/nfs/proc.c
+++ b/
fs/nfs/proc.c
@@
-375,6
+375,7
@@
nfs_proc_link(struct inode *inode, struct inode *dir, struct qstr *name)
dprintk("NFS call link %s\n", name->name);
status = rpc_call(NFS_CLIENT(inode), NFSPROC_LINK, &arg, NULL, 0);
+ nfs_mark_for_revalidate(inode);
nfs_mark_for_revalidate(dir);
dprintk("NFS reply link: %d\n", status);
return status;