fix multi io window patch(Rev. 1.48)

Submitted by:	iwasaki
Obtained from:	PAO3
This commit is contained in:
MIHIRA Sanpei Yoshiro 2000-09-01 08:51:37 +00:00
parent 1c7f976dec
commit 06f748444a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65315

View file

@ -632,7 +632,7 @@ assign_io(struct slot *sp)
cio = cp->io;
sio = &(sp->io);
xmax = 1;
if (cio)
if (iosize == 0 && cio)
xmax = cisconf->io_blks;
for (x = 0; x < xmax; x++) {
if (iosize) {