cvs commit: src/sys/ufs/ffs ffs_snapshot.c ffs_vnops.c

Tor Egge tegge at FreeBSD.org
Sat May 13 16:49:51 PDT 2006


tegge       2006-05-13 23:49:45 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/ufs/ffs          ffs_snapshot.c ffs_vnops.c 
  Log:
  MFC: 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.103.2.7  +66 -41    src/sys/ufs/ffs/ffs_snapshot.c
  1.157.2.2  +44 -1     src/sys/ufs/ffs/ffs_vnops.c


More information about the cvs-src mailing list