Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2007 08:56:57 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_mount.c
Message-ID:  <200704260856.l3Q8uvns061717@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2007-04-26 08:56:57 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_mount.c 
  Log:
  Allow the dounmount() to proceed even for doomed coveredvp.
  
  In dounmount(), before or while vn_lock(coveredvp) is called, coveredvp
  vnode may be VI_DOOMED due to one of the following:
  - other thread finished unmount and vput()ed it, and vnode was chosen
    for recycling, while vn_lock() slept;
  - forced unmount of the coveredvp->v_mount fs.
  In the first case, next check for changed v_mountedhere or mnt_gen counter
  would be successfull. In the second case, the unmount shall be allowed.
  
  Submitted by:   sobomax
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.259     +1 -3      src/sys/kern/vfs_mount.c



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