Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2008 10:07:28 +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:  <200810201007.m9KA7j0B068074@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2008-10-20 10:07:28 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_subr.c 
  Log:
  SVN rev 184073 on 2008-10-20 10:07:28Z 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.
  
  Reviewed by:    tegge, attilio
  Tested by:      pho
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.742     +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?200810201007.m9KA7j0B068074>