From: Iosif Harutyunov Date: Fri, 22 Jul 2016 23:22:42 +0000 (+0000) Subject: ubi: Fix race condition between ubi device creation and udev X-Git-Tag: v3.2.84~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=016820bde3f0895d09fcad370415085ba0d1bd4a;p=pandora-kernel.git ubi: Fix race condition between ubi device creation and udev commit 714fb87e8bc05ff78255afc0dca981e8c5242785 upstream. 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. Signed-off-by: Iosif Harutyunov [rw: massaged commit message] Signed-off-by: Richard Weinberger Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed