[syscalls] Avoid code duplication between rename() and link()
[syscalls] Avoid code duplication between rename() and link()

vvaltchev/experimentOs,vvaltchev/experimentOs,vvaltchev/experimentOs,vvaltchev/experimentOs