commit | 714fb87e8bc05ff78255afc0dca981e8c5242785 | [log] [tgz] |
---|---|---|
author | Iosif Harutyunov <iharutyunov@SonicWALL.com> | Fri Jul 22 23:22:42 2016 +0000 |
committer | Richard Weinberger <richard@nod.at> | Fri Jul 29 23:30:28 2016 +0200 |
tree | cca9b708d356e84bde4eef083f3b01ecd283cc5f | |
parent | 380bc8b71081a258a4cda0060803bfde47dd8c60 [diff] |
ubi: Fix race condition between ubi device creation and udev Install the UBI device object before we arm sysfs. Otherwise udev tries to read sysfs attributes before UBI is ready and udev rules will not match. Cc: <stable@vger.kernel.org> Signed-off-by: Iosif Harutyunov <iharutyunov@sonicwall.com> [rw: massaged commit message] Signed-off-by: Richard Weinberger <richard@nod.at>