at bugfix - openct only increased on opens when 0, openct always decreased

on closes..

this causes partition tables not to be re-read sometimes..

this causes mayhem..
This commit is contained in:
Ben Gras 2005-08-12 16:42:36 +00:00
parent 55f90307d2
commit b993f51980

View file

@ -388,8 +388,8 @@ message *m_ptr;
/* Partition the disk. */
partition(&w_dtab, w_drive * DEV_PER_DRIVE, P_PRIMARY, wn->state & ATAPI);
wn->open_ct++;
}
wn->open_ct++;
return(OK);
}