diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2005-12-29 20:00:53 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2005-12-29 20:00:53 +0000 |
commit | 4e974cec464a9e0f0b9ba94ee6924b436da434a3 (patch) | |
tree | 6925ba83830391b6eac4aa9a276feb94df1c04c5 /sys/dev/ic/bt485reg.h | |
parent | e302a7e8e6ecd03be15572f849517fe6b38fa02c (diff) |
Fix wrong optimization in spec_write() that goes: if we are about to do
a write that will globber the whole buffer, and it's not in cache, do
not bother reading it in. That's wrong, since the user may be trying to
write beyond the disk extent, in which case we definitely want to return
an error, rather than returning saying the write was okay, and failing
later on at an 'uncatched' biodone(). Okay tedu@.
Diffstat (limited to 'sys/dev/ic/bt485reg.h')
0 files changed, 0 insertions, 0 deletions