Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2006 23:52:44 +0000 (UTC)
From:      Tor Egge <tegge@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ffs ffs_snapshot.c ffs_vnops.c
Message-ID:  <200605022352.k42Nqi1s095377@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
tegge       2006-05-02 23:52:44 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ffs          ffs_snapshot.c ffs_vnops.c 
  Log:
  Close a race when VOP_LOCK() on a snapshot file is attempted at the
  same time as it is changed back into a normal file.  The locker would
  get the shared "snaplk" lock which would no longer be the correct lock
  for the vnode.
  
  Revision  Changes    Path
  1.118     +66 -41    src/sys/ufs/ffs/ffs_snapshot.c
  1.159     +44 -1     src/sys/ufs/ffs/ffs_vnops.c



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