zram: Bump disksize value to 4GB

Change-Id: I1b9ed655e7d01417332a3423d564bf48212aa58d
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
Richard Raya 2024-08-24 18:56:54 -03:00
parent f88112e714
commit 0abe493e1e

View File

@ -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)) {