]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: Close a race when VOP_LOCK() on a snapshot file is attempted at the
authortegge <tegge@FreeBSD.org>
Sat, 13 May 2006 23:49:45 +0000 (23:49 +0000)
committertegge <tegge@FreeBSD.org>
Sat, 13 May 2006 23:49:45 +0000 (23:49 +0000)
commitdea3927dd2cbfedc8d60dc79b5c8c75caabf8f0f
treef7d476dbf490878afdd32a5113564b057079de8f
parent2b650394a3d4f4e4b1afc0a259bff8f517e5d477
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.
sys/ufs/ffs/ffs_snapshot.c
sys/ufs/ffs/ffs_vnops.c