K 10 svn:author V 6 dillon K 8 svn:date V 27 1999-09-20T16:19:24.000000Z K 7 svn:log V 536 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 Submitted by: Tor.Egge@fast.no END