cvs commit: src/sys/kern vfs_bio.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat May 7 17:13:06 PDT 2005
dillon 2005/05/07 17:12:22 PDT
DragonFly src repository
Modified files:
sys/kern vfs_bio.c
Log:
incore() is used to detect logical block number collisions, and other
callers will check B_INVAL on return. Do not return a false negative
if the buffer we find happens to be B_INVAL as this could result in
duplicate buffers in the buffer cache. As of the red-black tree code,
which detects duplicate entries, the case will immediately panic the machine.
MFC: 2 weeks
Revision Changes Path
1.36 +1 -3 src/sys/kern/vfs_bio.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.35&r2=1.36&f=u
More information about the Commits
mailing list