[PATCH v4 0/2] zram: fix few sysfs races

From: Luis Chamberlain
Date: Tue Jun 22 2021 - 17:19:49 EST


As per Greg's request I've split out the driver core patch out on
its own. Other than that, this series addresses the few minor
changes which Greg requested, namely making the zram_up bool static,
and adjusting the subject of the second patch to make it clear the
race is with module removal.

Luis Chamberlain (2):
zram: fix crashes due to use of cpu hotplug multistate
zram: fix deadlock with sysfs attribute usage and module removal

drivers/block/zram/zram_drv.c | 141 ++++++++++++++++++++++++----------
drivers/block/zram/zram_drv.h | 40 ++++++++++
2 files changed, 139 insertions(+), 42 deletions(-)

--
2.27.0