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