Revert "zram: protect sysfs handler from invalid memory access"

This reverts commit d6c44fd2c7cd591c1744bf57a5000d9f21f5cf6d.
Revert "zram: avoid access beyond the zram device"

This reverts commit d62c4e893ff43b1df12b978279d68e727b701420.
Revert "zram: avoid double free in error recovery path of zram_bvec_write()"

This reverts commit eda195e9008b883c5f7ba82525dfed1de1c10405.
Revert "zram: destroy all devices on error recovery path in zram_init()"

This reverts commit 7d7274fafed35382d6419b2a8cc2127a66bbfae4.
Revert "zram: avoid invalid memory access in zram_exit()"

This reverts commit 12eae1f038f920f2518f2d0bdab4b5f2da1127c7.
Revert "zram: simplify and optimize zram_to_dev()"

This reverts commit 34cb99604b148fab48c7a2e3ad83f0e0ae70064e.
Revert "zRam : add LZ4 compression option as alternative to LZO or Snappy compression to use as zRam compression algorithm"

This reverts commit 68ce9cc9378f04c4a4464e499f6b636875c0432f.
Revert "staging: Add Snappy compression support to zram (alt)"

This reverts commit f361f177fa122b7e581a11a7783eb6f05ee50f7f.
Revert "Staging: zram: Add a missing GFP_KERNEL specifier in zram_init_device()"

This reverts commit 3421a1a9f3c6a7c23f436d1c906fa47116e6fb54.
Revert "Staging: zram/zram_sysfs.c: Fixed call of obsolete function strict_strtoX"

This reverts commit e00e349482f469969abb028878b7750da2203168.
Revert "zram: Fix sparse warnings"

This reverts commit 3f5f795b2f658387e5b5967e7843e38670a39c96.
Revert "staging: zram: prevent accessing an unallocated table when init fails early"

This reverts commit 81b4a5faec74168c102e9d8156ee17910c25087e.
Revert "staging: zram: fix zram locking"

This reverts commit 8096a4fcc27d4632ba8f1f8cfac0fe3fef590130.
Revert "staging: zram: make global var "num_devices" use unique name"

This reverts commit faddba87d57bcf3854ac6f6e87244d0446f36e0a.
Revert "Staging: zram: Fix kunmapping order"

This reverts commit 587d54cef71527d27a7632d73126c2e2efc4629b.
Revert "Staging: zram: Replace mutex lock by a R/W semaphore"

This reverts commit ed844bf1bc248e2dc394a887c7c3c3b34c7ae523.
Revert "Staging: zram: allow partial page operations"

This reverts commit deab7b36f58f6397afe4ab8aca13f46b8f08c833.
Revert "Staging: zram: Refactor zram_read/write() functions"

This reverts commit 631fa9d76d6271e024c13e28959fdcffdc2c32ec.
Revert "Revert "staging: Add Snappy compression support to zram (alt)""

This reverts commit 16cb13df0dc128963f61984c946d9cd084af4a77.
Revert "Revert "zRam : add LZ4 compression option as alternative to LZO or Snappy compression to use as zRam compression algorithm""

This reverts commit 9ab270784bbe37d6cc60bf85c9b1c373bd558fce.