Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cdf25333 authored by Iosif Harutyunov's avatar Iosif Harutyunov Committed by Sasha Levin
Browse files

ubi: Fix race condition between ubi device creation and udev



[ Upstream commit 714fb87e8bc05ff78255afc0dca981e8c5242785 ]

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: default avatarIosif Harutyunov <iharutyunov@sonicwall.com>
[rw: massaged commit message]
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>

Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
parent 6d1b8d7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment