I hadn't really thought this through before, but I think if the `p_lstat` call fails then it probably isn't enough just to set the `st_mode` - we probably should `memset(&ps->st, 0, sizeof(ps->st));` to clear the whole structure out.