mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
zram: Lower disksize value to 2GB
Change-Id: I0641df2b3bba4b5809c21f020b47ed55c8b7d405 Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
c6f06373e4
commit
11be2baf36
@ -1855,7 +1855,7 @@ static ssize_t disksize_store(struct device *dev,
|
||||
struct zram *zram = dev_to_zram(dev);
|
||||
int err;
|
||||
|
||||
disksize = (u64)SZ_1G * 4;
|
||||
disksize = (u64)SZ_1G * 2;
|
||||
|
||||
down_write(&zram->init_lock);
|
||||
if (init_done(zram)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user