From: David van Moolenbroek Date: Thu, 1 Jul 2010 14:35:47 +0000 (+0000) Subject: ramdisk rc: start disk drivers synchronously. X-Git-Tag: v3.1.8~298 X-Git-Url: http://zhaoyanbai.com/repos/doc/mandoc_char.7.html?a=commitdiff_plain;h=71dbe2d023df23d2c4668174e76acacdaf9ac1aa;p=minix.git ramdisk rc: start disk drivers synchronously. This eliminates a race condition between the disk driver calling sys_statectl(SYS_STATE_CLEAR_IPC_REFS) as part of driver_announce(), and the root MFS calling sendrec(DEV_OPEN) on the disk driver. --- diff --git a/drivers/ramdisk/rc b/drivers/ramdisk/rc index 94ac386ac..c4b37cf71 100644 --- a/drivers/ramdisk/rc +++ b/drivers/ramdisk/rc @@ -10,10 +10,10 @@ exec