Hello, Fixes the following two issues reported by Luis Chamberlain by simpler approach, meantime it is sort of simplification of handling resetting/removing device vs. open(). - zram leak during unloading module, which is one race between resetting and removing device - zram resource leak in case that disksize_store is done after resetting and before deleting gendisk in zram_remove() Ming Lei (3): zram: replace fsync_bdev with sync_blockdev zram: simplify handling reset_store/remove vs. open zram: avoid race between zram_remove and disksize_store drivers/block/zram/zram_drv.c | 62 ++++++++++++++++------------------- drivers/block/zram/zram_drv.h | 4 --- 2 files changed, 28 insertions(+), 38 deletions(-) -- 2.31.1