From: Ben Gras Date: Fri, 12 Aug 2005 16:42:36 +0000 (+0000) Subject: at bugfix - openct only increased on opens when 0, openct always decreased X-Git-Tag: v3.1.0~342 X-Git-Url: http://zhaoyanbai.com/repos/man.named-checkconf.html?a=commitdiff_plain;h=b993f519805c88d2a083dd0fb63fbe6386c5511e;p=minix.git 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.. --- diff --git a/drivers/at_wini/at_wini.c b/drivers/at_wini/at_wini.c index 5138b593c..2c1149c0f 100644 --- a/drivers/at_wini/at_wini.c +++ b/drivers/at_wini/at_wini.c @@ -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); }