cvs commit: src/sys/ufs/ffs ffs_snapshot.c ffs_vnops.c
Tor Egge
tegge at FreeBSD.org
Tue May 2 23:52:48 UTC 2006
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
More information about the cvs-src
mailing list