Do not kill vnodes after rename. This can cause deadlocks in the deadfs.
Noticed by: Matthew N. Dodd <winter@jurai.net>
This commit is contained in:
parent
78f47eea0f
commit
2561820ec8
@ -576,13 +576,9 @@ nwfs_rename(ap)
|
||||
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.
|
||||
*/
|
||||
|
@ -576,13 +576,9 @@ nwfs_rename(ap)
|
||||
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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user