Date: Mon, 29 Dec 2008 13:25:58 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/pseudofs pseudofs_vncache.c Message-ID: <200812291326.mBTDQCHJ074972@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2008-12-29 13:25:58 UTC
FreeBSD src repository
Modified files:
sys/fs/pseudofs pseudofs_vncache.c
Log:
SVN rev 186565 on 2008-12-29 13:25:58Z by kib
When the insmntque() in the pfs_vncache_alloc() fails, vop_reclaim calls
pfs_vncache_free() that removes pvd from the list, while it is not yet
put on the list.
Prevent the invalid removal from the list by clearing pvd_next and
pvd_prev for the newly allocated pvd, and only move pfs_vncache list
head when the pvd was at the head.
Suggested and approved by: des
MFC after: 2 weeks
Revision Changes Path
1.44 +2 -1 src/sys/fs/pseudofs/pseudofs_vncache.c
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812291326.mBTDQCHJ074972>
