Ticket #6548: openwrt-ticket6548-fix_md_run_setup.patch

File openwrt-ticket6548-fix_md_run_setup.patch, 396 bytes (added by Pieter "Fate" Hollants <pieter@…>, 7 years ago)

Patch to fix calling order for initcalls and md_run_setup()

  • 300-block2mtd_init.patch

    old new  
    202202+        } 
    203203+        while (driver_probe_done() != 0) 
    204204+            msleep(100); 
    205 +        md_run_setup(); 
    206205+        do_initcalls(__root_initcall_start, __root_initcall_end); 
     206+        md_run_setup(); 
    207207+        prepare_namespace(); 
    208208        } 
    209209