diff options
author | dg <dg@FreeBSD.org> | 1999-01-22 08:59:05 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1999-01-22 08:59:05 +0000 |
commit | e4e8fec98ae986357cdc208b04557dba55a59266 (patch) | |
tree | 033d539e6cd9d3625e87b38ba4a895b2539bd68e /lib/libkvm/kvm_getloadavg.c | |
parent | 305d248a37015a1158e19ab35e5f743f472def5e (diff) | |
download | FreeBSD-src-e4e8fec98ae986357cdc208b04557dba55a59266.zip FreeBSD-src-e4e8fec98ae986357cdc208b04557dba55a59266.tar.gz |
Don't throw away the buffer contents on a fatal write error; just mark
the buffer as still being dirty. This isn't a perfect solution, but
throwing away the buffer contents will often result in filesystem
corruption and this solution will at least correctly deal with transient
errors.
Submitted by: Kirk McKusick <mckusick@mckusick.com>
Diffstat (limited to 'lib/libkvm/kvm_getloadavg.c')
0 files changed, 0 insertions, 0 deletions