The patch titled NFS: Cache invalidation fixup has been added to the -mm tree. Its filename is nfs-cache-invalidation-fixup.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: NFS: Cache invalidation fixup From: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> If someone has renamed a directory on the server, triggering the d_move code in d_materialise_unique(), then we need to invalidate the cached directory information in the source parent directory. Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> Cc: Miklos Szeredi <miklos@xxxxxxxxxx> Cc: Maneesh Soni <maneesh@xxxxxxxxxx> Cc: Dipankar Sarma <dipankar@xxxxxxxxxx> Cc: Neil Brown <neilb@xxxxxxxxxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/nfs/dir.c | 6 ++++++ 1 file changed, 6 insertions(+) diff -puN fs/nfs/dir.c~nfs-cache-invalidation-fixup fs/nfs/dir.c --- a/fs/nfs/dir.c~nfs-cache-invalidation-fixup +++ a/fs/nfs/dir.c @@ -936,8 +936,14 @@ static struct dentry *nfs_lookup(struct no_entry: res = d_materialise_unique(dentry, inode); if (res != NULL) { + struct dentry *parent; if (IS_ERR(res)) goto out_unlock; + /* Was a directory renamed! */ + parent = dget_parent(res); + if (!IS_ROOT(parent)) + nfs_mark_for_revalidate(parent->d_inode); + dput(parent); dentry = res; } nfs_renew_times(dentry); _ Patches currently in -mm which might be from Trond.Myklebust@xxxxxxxxxx are nfsv4-fix-thinko-in-fs-nfs-superc.patch nfs-fix-oops-in-nfs_cancel_commit_list.patch nfs-fix-error-handling-in-nfs_direct_write_result.patch nfs4-initialize-cl_ipaddr.patch nfs-fix-nfsv4-callback-regression.patch nfs-deal-with-failure-of-invalidate_inode_pages2.patch nfs-fix-minor-bug-in-new-nfs-symlink-code.patch nfs-__nfs_revalidate_inode-can-use-inode-before.patch nfs-remove-unused-check-in-nfs4_open_revalidate.patch sunrpc-fix-race-in-in-kernel-rpc-portmapper-client.patch sunrpc-fix-a-typo.patch vfs-make-d_materialise_unique-enforce-directory.patch nfs-cache-invalidation-fixup.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html