projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efea90a
)
NFSv2: Ensure that the directory metadata gets revalidated on file create
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 20 Oct 2007 17:07:21 +0000
(13:07 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sun, 21 Oct 2007 17:37:02 +0000
(13:37 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/proc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/proc.c
b/fs/nfs/proc.c
index 97669ed05500c6277387f1b0323d53b6face4950..4f80d88e9fee005d69bd2d279ddeb5dc8bb4fd2f 100644
(file)
--- a/
fs/nfs/proc.c
+++ b/
fs/nfs/proc.c
@@
-211,6
+211,7
@@
nfs_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
nfs_fattr_init(&fattr);
dprintk("NFS call create %s\n", dentry->d_name.name);
status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0);
+ nfs_mark_for_revalidate(dir);
if (status == 0)
status = nfs_instantiate(dentry, &fhandle, &fattr);
dprintk("NFS reply create: %d\n", status);