#2175 hard links fix for master