zram: remove max_num_devices limitation
authorSergey Senozhatsky <[email protected]>
Thu, 25 Jun 2015 22:00:11 +0000 (15:00 -0700)
committerLinus Torvalds <[email protected]>
Fri, 26 Jun 2015 00:00:36 +0000 (17:00 -0700)
commitc3cdb40e66344553898daa3ccd068c03173a3f42
tree53fd5157d5958c12a36969b73c298c6ebbeabdd6
parent522698d7cadb5d208429c934f673713b7a42e925
zram: remove max_num_devices limitation

Limiting the number of zram devices to 32 (default max_num_devices value)
is confusing, let's drop it.  A user with 2TB or 4TB of RAM, for example,
can request as many devices as he can handle.

Signed-off-by: Sergey Senozhatsky <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/blockdev/zram.txt
drivers/block/zram/zram_drv.c
drivers/block/zram/zram_drv.h