mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
ubi: Fix race condition between ubi device creation and udev
[ Upstream commit 714fb87e8b ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
This commit is contained in:
parent
6d1b8d7ad1
commit
cdf25333b4
1 changed files with 4 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue