start: we fire up sysio directly so must set u_done
authorAlan Cox <alan@linux.intel.com>
Sun, 11 Feb 2018 17:17:42 +0000 (17:17 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 11 Feb 2018 17:17:42 +0000 (17:17 +0000)
Kernel/start.c

index 8a5b251..479e600 100644 (file)
@@ -289,6 +289,7 @@ uint16_t get_root_dev(void)
                udata.u_sysio = 1;
                udata.u_count = sizeof(bootline)-1;
                udata.u_euid = 0;               /* Always begin as superuser */
+               udata.u_done = 0;
 
                cdread(TTYDEV, O_RDONLY);       /* read root filesystem name from tty */
                rd = bootdevice(bootline);