diff options
author | bp <bp@FreeBSD.org> | 2001-03-11 11:51:42 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 2001-03-11 11:51:42 +0000 |
commit | 968f03fddd4379863ecb490616f5827a8d9a79c6 (patch) | |
tree | 33a12908735197546f12b26565f12805a5c2993f /sys/fs | |
parent | ce5f782bebea56ca154eda25c4143ef873f22749 (diff) | |
download | FreeBSD-src-968f03fddd4379863ecb490616f5827a8d9a79c6.zip FreeBSD-src-968f03fddd4379863ecb490616f5827a8d9a79c6.tar.gz |
Do not kill vnodes after rename. This can cause deadlocks in the deadfs.
Noticed by: Matthew N. Dodd <winter@jurai.net>
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/nwfs/nwfs_vnops.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/fs/nwfs/nwfs_vnops.c b/sys/fs/nwfs/nwfs_vnops.c index 1c65b4c..e7e6b72 100644 --- a/sys/fs/nwfs/nwfs_vnops.c +++ b/sys/fs/nwfs/nwfs_vnops.c @@ -576,13 +576,9 @@ out: vrele(fvp); nwfs_attr_cacheremove(fdvp); nwfs_attr_cacheremove(tdvp); - /* - * Need to get rid of old vnodes, because netware will change - * file id on rename - */ - vgone(fvp); + nwfs_attr_cacheremove(fvp); if (tvp) - vgone(tvp); + nwfs_attr_cacheremove(tvp); /* * Kludge: Map ENOENT => 0 assuming that it is a reply to a retry. */ |