Re: [RFC PATCH 1/1] init: fix race between rootfs mount and firmware loading

2014-06-15 Thread Rob Landley
On 06/15/14 06:06, Roman Pen wrote: > The thing is that built-in modules are being inited before > rootfs mount. Some of the modules can request firmware loading > using async 'request_firmware_nowait' call just while inition, > so we can catch this kind of race: rootfs does not exist yet, > but we

[RFC PATCH 1/1] init: fix race between rootfs mount and firmware loading

2014-06-15 Thread Roman Pen
The thing is that built-in modules are being inited before rootfs mount. Some of the modules can request firmware loading using async 'request_firmware_nowait' call just while inition, so we can catch this kind of race: rootfs does not exist yet, but we are going to open and load firmware file requ