Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2009 11:17:11 +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:  <200901291117.n0TBHQAf043267@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901291117.n0TBHQAf043267>