Don't export empty direntries to kernel.