Fix the regression created by "set S_DEAD on unlink()..." commit