Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/msdosfs Pull up revision 1.91 (requested by jdolecek):
details: https://anonhg.NetBSD.org/src/rev/e5e565aa828c
branches: netbsd-1-4
changeset: 470273:e5e565aa828c
user: he <he%NetBSD.org@localhost>
date: Fri Feb 04 23:00:17 2000 +0000
description:
Pull up revision 1.91 (requested by jdolecek):
Purge appropriate name cache entry on file removal. Should fix
MI part of PR#8037.
diffstat:
sys/msdosfs/msdosfs_vnops.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r ec4cb6aff9eb -r e5e565aa828c sys/msdosfs/msdosfs_vnops.c
--- a/sys/msdosfs/msdosfs_vnops.c Fri Feb 04 22:57:21 2000 +0000
+++ b/sys/msdosfs/msdosfs_vnops.c Fri Feb 04 23:00:17 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msdosfs_vnops.c,v 1.79.2.5 1999/11/05 07:50:23 cgd Exp $ */
+/* $NetBSD: msdosfs_vnops.c,v 1.79.2.6 2000/02/04 23:00:17 he Exp $ */
/*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -1052,13 +1052,13 @@
error = ENOTDIR;
goto bad;
}
- cache_purge(tdvp);
} else if (doingdirectory) {
error = EISDIR;
goto bad;
}
if ((error = removede(dp, xp)) != 0)
goto bad;
+ cache_purge(tvp);
vput(tvp);
xp = NULL;
}
@@ -1147,6 +1147,7 @@
VOP_UNLOCK(fvp, 0);
goto bad;
}
+ cache_purge(fvp);
if (!doingdirectory) {
error = pcbmap(dp, de_cluster(pmp, to_diroffset), 0,
&ip->de_dirclust, 0);
Home |
Main Index |
Thread Index |
Old Index