diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-20 19:07:21 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-21 19:37:02 +0200 |
commit | bad2a524113075d1e0665f1e111283ab25135ade (patch) | |
tree | 5c87770bc1a868d5dec5e39acc7406568271f400 /fs/nfs/proc.c | |
parent | Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/coolo... (diff) | |
download | linux-bad2a524113075d1e0665f1e111283ab25135ade.tar.xz linux-bad2a524113075d1e0665f1e111283ab25135ade.zip |
NFSv2: Ensure that the directory metadata gets revalidated on file create
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to '')
-rw-r--r-- | fs/nfs/proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c index 97669ed05500..4f80d88e9fee 100644 --- 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); |