Actually there's something I've missed: do you know any application that relies on renaming hardlink to itself?
Otherwise, since this MR stemmed from !246 (which I assume is from Proton), could we proceed with the original MR without the rename-hardlink fix?
Sorry for not noticing this earlier.