diff options
author | Roland McGrath <roland@gnu.org> | 1999-11-21 04:27:23 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-11-21 04:27:23 +0000 |
commit | d4139b9468005e145ba4c9fffa90b212de05e7d5 (patch) | |
tree | 0b2f89e42395f814345f1de6dff41945e21a01ad /libps | |
parent | 1a69c12f73b7df071d87ed26a4e89c26cb7b05eb (diff) |
1999-11-20 Roland McGrath <roland@baalperazim.frob.com>
* dev.c (dev_read, dev_write): In DEV->inhibit_cache case,
handle zero (i.e. unknown) block_size by treating it as 1.
Use shift and bitwise-and rather than multiply and modulus
for block size arithmetic, since it's a known power of two.
Diffstat (limited to 'libps')
0 files changed, 0 insertions, 0 deletions