summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-09-20 16:19:24 +0000
committerdillon <dillon@FreeBSD.org>1999-09-20 16:19:24 +0000
commit5007145b49ed01b5762a409e180b018ccc2384dc (patch)
tree73fb47662d1e095d2075a7513cb8ffe10b212b11 /lib/libc
parentf56081fa700df2d5a267e1aac0da2505467a9c7a (diff)
downloadFreeBSD-src-5007145b49ed01b5762a409e180b018ccc2384dc.zip
FreeBSD-src-5007145b49ed01b5762a409e180b018ccc2384dc.tar.gz
Fix bug in brelse() regarding redirtying buffers on B_ERROR. brelse()
improperly ignored the B_INVAL flag when acting on the B_ERROR. If both B_INVAL and B_ERROR are set the buffer is typically out of the underlying device's block range and must be destroyed. If only B_ERROR is set (for a write), a write error occured and operation remains as it was before: the buffer must be redirtied to avoid corrupting the filesystem state. Reviewed by: David Greenman <dg@root.com> Submitted by: Tor.Egge@fast.no
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud