Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2008 14:11:06 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern vfs_subr.c
Message-ID:  <200811031411.mA3EBWNr080983@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2008-11-03 14:11:06 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/kern             vfs_subr.c 
  Log:
  SVN rev 184591 on 2008-11-03 14:11:06Z by kib
  
  In vfs_busy(), lockmgr() cannot legitimately sleep, because code checked
  MNTK_UNMOUNT before, and mnt_mtx is used as interlock. vfs_busy() always
  tries to obtain a shared lock on mnt_lock, the other user is unmount who
  tries to drain it, setting MNTK_UNMOUNT before.
  
  Approved by:    re (kensmith)
  
  Revision   Changes    Path
  1.707.2.8  +1 -1      src/sys/kern/vfs_subr.c



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