fix namecache consistency on link/unlink