Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

NFSv2: Ensure that the directory metadata gets revalidated on file create

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

+1
+1
fs/nfs/proc.c
··· 211 211 nfs_fattr_init(&fattr); 212 212 dprintk("NFS call create %s\n", dentry->d_name.name); 213 213 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); 214 + nfs_mark_for_revalidate(dir); 214 215 if (status == 0) 215 216 status = nfs_instantiate(dentry, &fhandle, &fattr); 216 217 dprintk("NFS reply create: %d\n", status);