mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-02 21:00:13 -05:00
Rework movefile and cow break to use copyfile (#1488)
This commit is contained in:
parent
264c5600f8
commit
e216a81a27
19 changed files with 677 additions and 659 deletions
|
|
@ -239,7 +239,7 @@ _copy_files(const std::string &src_,
|
|||
if(src_ == dst.path)
|
||||
continue;
|
||||
|
||||
rv = fs::copyfile(src_,dst.path);
|
||||
rv = fs::copyfile(src_,dst.path,FS_COPYFILE_NONE);
|
||||
if(rv < 0)
|
||||
fmt::print(stderr,
|
||||
"ERROR: failed copying to {} - {}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue