From owner-cvs-src-old@FreeBSD.ORG Thu Jan 29 11:17:27 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19D641065677 for ; Thu, 29 Jan 2009 11:17:27 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 07E898FC20 for ; Thu, 29 Jan 2009 11:17:27 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n0TBHQKf043268 for ; Thu, 29 Jan 2009 11:17:26 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n0TBHQAf043267 for cvs-src-old@freebsd.org; Thu, 29 Jan 2009 11:17:26 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200901291117.n0TBHQAf043267@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Thu, 29 Jan 2009 11:17:11 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/fs/pseudofs pseudofs_vncache.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2009 11:17:27 -0000 kib 2009-01-29 11:17:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/fs/pseudofs pseudofs_vncache.c Log: SVN rev 187890 on 2009-01-29 11:17:11Z by kib MFC r186565: 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. Revision Changes Path 1.38.2.2 +2 -1 src/sys/fs/pseudofs/pseudofs_vncache.c