fs/namespace: fix: 'warning: 'kernel_type/dir' may be used uninitialized in this function'

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