Revert "zram: close udev startup race condition as default groups"
authorJeffle Xu <jefflexu@linux.alibaba.com>
Tue, 23 Feb 2021 09:28:54 +0000 (17:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Mar 2021 13:04:59 +0000 (14:04 +0100)
commite21a0a2a46c61036e460ff2986d2f08c09a6092b
tree3ce1525b3f6b0d8f6cb186485066e124103da646
parentcc69244f36b9ee87acc683214574c16f8bffb093
Revert "zram: close udev startup race condition as default groups"

This reverts commit 9e07f4e243791e00a4086ad86e573705cf7b2c65.

The original commit is actually a "merged" fix of [1] and [2], as
described in [3]. Since now we have more fixes that rely on [1], revert
this commit first, and then get the original [1] and [2] merged.

[1] fef912bf860e, block: genhd: add 'groups' argument to device_add_disk
[2] 98af4d4df889, zram: register default groups with device_add_disk()
[3] https://www.spinics.net/lists/stable/msg442196.html

Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/zram/zram_drv.c