Iosif Harutyunov 714fb87e8b 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>
2016-07-29 23:30:28 +02:00
..
2016-01-22 18:04:28 -05:00
2015-04-13 21:05:17 +02:00
2016-06-23 00:29:32 +02:00
2016-06-14 10:51:42 +02:00
2015-10-03 20:09:41 +02:00
2015-03-26 22:47:38 +01:00