If softupdates or some other entity re-dirties a buffer, make sure
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 24 Apr 2006 21:44:52 +0000 (21:44 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 24 Apr 2006 21:44:52 +0000 (21:44 +0000)
commit69f8c926fa584c0e1129b7280fc628197a8dd1ae
tree2fa5d8fd75faba9728490a54d5b772f882a1d6cb
parent9c6d8a89066e44a56f662cc425fb832cc3591512
If softupdates or some other entity re-dirties a buffer, make sure
that B_NOCACHE is cleared to prevent the buffer from being discarded.
Add printfs to warn if the situation is encountered.

Fix a bug in brelse() where a buffer's flags were being modified after
the unlock instead of before.
sys/kern/vfs_bio.c