mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
Revert "staging: zram: Add auto loading of module if user opens /dev/zram."
This reverts commitc70bda992c. It's incorrect, Kay writes: Please just remove it. "devname" is meant to be used for single-instance devices with a static dev_t, never for things like zramX. It will not do anything useful here, it does nothing really without a statically assigned dev_t, and it should not be used for devices of this kind anyway. Reported-by: Tom Gundersen <teg@jklm.no> Reported-by: Kay Sievers <kay@vrfy.org> Cc: Minchan Kim <minchan@kernel.org> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commitf0f65a95de) Signed-off-by: Alex Shi <alex.shi@linaro.org>
This commit is contained in:
committed by
Alex Shi
parent
92fe27ba3d
commit
e2671233fa
@@ -981,4 +981,3 @@ MODULE_PARM_DESC(num_devices, "Number of zram devices");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
MODULE_AUTHOR("Nitin Gupta <ngupta@vflare.org>");
|
||||
MODULE_DESCRIPTION("Compressed RAM Block Device");
|
||||
MODULE_ALIAS("devname:zram");
|
||||
|
||||
Reference in New Issue
Block a user