diff options
author | Iosif Harutyunov <iharutyunov@SonicWALL.com> | 2016-07-22 23:22:42 +0000 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2016-07-29 23:30:28 +0200 |
commit | 714fb87e8bc05ff78255afc0dca981e8c5242785 (patch) | |
tree | cca9b708d356e84bde4eef083f3b01ecd283cc5f /fs/ubifs/super.c | |
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>
Diffstat (limited to 'fs/ubifs/super.c')
0 files changed, 0 insertions, 0 deletions