From 997e8f03cd9431da385af18d9760b0460b2bb6ad Mon Sep 17 00:00:00 2001 From: YH_Lin Date: Thu, 28 Nov 2019 16:12:41 +0800 Subject: [PATCH] sm6150-common: fstab: Correct zram parameter names [libfs_mgr]Warning: unknown flag: zram_loopback_path=/data/per_boot/zram_swap [libfs_mgr]Warning: unknown flag: zram_loopback_size=512M We don't use zram_loopback_path any longer so remove it. We also changed zram_loopback_size with zram_backingdev_size so correct it. Bug: 145330273 Bug: 145116439 Test: confirmed there is no warning and zram backing device was configured Change-Id: I51be34c59203813a2f493eee6ab442c9940b75d7 Signed-off-by: Minchan Kim Signed-off-by: YH_Lin --- rootdir/etc/fstab.zram | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/fstab.zram b/rootdir/etc/fstab.zram index f70bc38..fcfee7b 100644 --- a/rootdir/etc/fstab.zram +++ b/rootdir/etc/fstab.zram @@ -1,4 +1,4 @@ # Android fstab file. # -/dev/block/zram0 none swap defaults zramsize=2147483648,max_comp_streams=8,zram_loopback_path=/data/per_boot/zram_swap,zram_loopback_size=512M +/dev/block/zram0 none swap defaults zramsize=2147483648,max_comp_streams=8,zram_backingdev_size=512M