On Sat, Nov 26, 2005 at 01:45:47AM -0800, Ted Unangst wrote: > there may be a missing cache_purge in msdosfs_rename.
I've looked at the code and yes, you're correct. There was a missing cache_purge() in msdosfs_rename(), and that fixed the issue for me. Alexander, can you confirm the problem is gone? -p. Index: msdosfs_vnops.c =================================================================== RCS file: /cvs/src/sys/msdosfs/msdosfs_vnops.c,v retrieving revision 1.55 diff -u -r1.55 msdosfs_vnops.c --- msdosfs_vnops.c 19 Nov 2005 02:18:01 -0000 1.55 +++ msdosfs_vnops.c 26 Nov 2005 14:27:32 -0000 @@ -1151,6 +1151,9 @@ VOP_UNLOCK(fdvp, 0, p); goto bad; } + + cache_purge(fvp); + if (!doingdirectory) { error = pcbmap(dp, de_cluster(pmp, to_diroffset), 0, &ip->de_dirclust, 0);