mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
- Add a bogus vhold/vdrop around vgone() in devfs_revoke. Without this
the vnode is never recycled. It is bogus because the reference really should be associated with the devfs dirent.
This commit is contained in:
parent
b643101293
commit
23b77994f2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157342
@ -947,7 +947,10 @@ devfs_revoke(struct vop_revoke_args *ap)
|
||||
}
|
||||
dev_unlock();
|
||||
if (vp2 != NULL) {
|
||||
/* XXX */
|
||||
vhold(vp2);
|
||||
vgone(vp2);
|
||||
vdrop(vp2);
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user