diff options
| author | Kirk McKusick <mckusick@FreeBSD.org> | 2002-10-14 19:44:51 +0000 |
|---|---|---|
| committer | Kirk McKusick <mckusick@FreeBSD.org> | 2002-10-14 19:44:51 +0000 |
| commit | e04a02006780cb3c56f7c97c8f97490c564f0884 (patch) | |
| tree | c744fd5eeabc6ec7e588b431ace50cad46844fde /sys/kern/vfs_subr.c | |
| parent | 03d94b50e5728fbc47a129e3c005f0b3d3f5a08c (diff) | |
Notes
Diffstat (limited to 'sys/kern/vfs_subr.c')
| -rw-r--r-- | sys/kern/vfs_subr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 4fe7deb2f15b..579f08d99a30 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -2545,8 +2545,10 @@ vclean(vp, flags, td) vfree(vp); /* - * Done with purge, notify sleepers of the grim news. + * Done with purge, reset to the standard lock and + * notify sleepers of the grim news. */ + vp->v_vnlock = &vp->v_lock; vp->v_op = dead_vnodeop_p; if (vp->v_pollinfo != NULL) vn_pollgone(vp); |
