If an asynchronous request invalidates a buf, then we might remove it
authormatthew <matthew@openbsd.org>
Tue, 3 Aug 2010 04:10:16 +0000 (04:10 +0000)
committermatthew <matthew@openbsd.org>
Tue, 3 Aug 2010 04:10:16 +0000 (04:10 +0000)
commit68b1adfeabd7627ee019b45160095fa1f6a8bc77
tree596d87d849c0cca4dfcf09f5be6bce3d0c0fc87f
parentecc042652190c87185e567e2f3099cfc45951bea
If an asynchronous request invalidates a buf, then we might remove it
from its vnode's buffer cache in an interrupt context.  Therefore we
need interrupt protection when searching the buffer red-black tree.

ok deraadt@, thib@, art@
sys/kern/vfs_bio.c