[PATCH v2 0/4] zram: fix few sysfs races
From: Luis Chamberlain
Date: Thu Apr 22 2021 - 21:11:13 EST
This 2nd series documents the fixes better and includes a bdgrab() fix
for the issue noted by Minchan. A general fix has been proposed for two
of these issues however they are not yet deemed required upstream and so
we just open code individual solutions on the driver.
Luis Chamberlain (4):
zram: fix crashes due to use of cpu hotplug multistate
zram: avoid disksize setting when device is being claimed
zram: fix deadlock with sysfs attribute usage and driver removal
zram: fix possible races between sysfs use and bdev access
drivers/block/zram/zram_drv.c | 473 +++++++++++++++++++++++++++++-----
1 file changed, 414 insertions(+), 59 deletions(-)
--
2.27.0