Merge "lmkd: Avoid potential out of buffer write"
am: 3d8fbfada6
Change-Id: Id7063aea8c8d5fb380e123af49cb3bb61c7fd449
diff --git a/rootdir/init.rc b/rootdir/init.rc
index bad0642..6b000c6 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -754,6 +754,7 @@
# to make it too large, since it may bring userdata loss, if they
# are not aware of using fsync()/sync() to prepare sudden power-cut.
write /sys/fs/f2fs/${dev.mnt.blk.data}/cp_interval 200
+ write /sys/fs/f2fs/${dev.mnt.blk.data}/gc_urgent_sleep_time 50
# Permissions for System Server and daemons.
chown system system /sys/power/autosleep