fix: keep EXDEV rename symlink targets relative

This commit is contained in:
Antonio SJ Musumeci 2026-10-28 12:11:59 -05:00 • committed by trapexit
parent 28d809f2f8
commit 3d81e24f32
3 changed files with 212 additions and 1 deletions

View file

@ -264,7 +264,7 @@ _rename_exdev_rel_symlink(const fuse_req_ctx_t *ctx_,
return rv;
linkpath = newfusepath_;
target = "/.mergerfs_rename_exdev";
target = ".mergerfs_rename_exdev";
target /= oldfusepath_;
target = target.lexically_relative(linkpath.parent_path());