fs/kernel: -O3 fixes

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>