Revert "fs/kernel: -O3 fixes"

This reverts commit 0e51e62efdd850ceb12bf0ceff61660736065910.