Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
f2fs: Add support for reporting a fake kernel version to fsck
fsck.f2fs forces a filesystem fix on boot if it detects that the current kernel version differs from the one saved in the superblock, which results in fsck blocking boot for a long time (~35 seconds). This commit provides a way to report a constant fake kernel version to fsck to avoid triggering the version check, which is useful if you boot new kernel builds frequently. Signed-off-by: Danny Lin <danny@kdrag0n.dev> Change-Id: I65974f63d81171947399ff31b22fb9e95d14a6f3 Signed-off-by: Carlos Jimenez (JavaShin-X) <javashin1986@gmail.com> ocean stock-kernel = CONFIG_F2FS_REPORT_FAKE_KERNEL_VERSION=y CONFIG_F2FS_FAKE_KERNEL_RELEASE="4.9.206-perf+" CONFIG_F2FS_FAKE_KERNEL_VERSION="#1 SMP PREEMPT Wed Sep 30 23:50:55 CDT 2020 aarch64" Signed-off-by: Carlos Jimenez (JavaShin-X) <javashin1986@gmail.com> Signed-off-by: TogoFire <italomellopereira@gmail.com>
- Loading branch information