mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Fix moveonenospc when file opened with append mode
This commit is contained in:
parent
701f88de43
commit
82430e1079
5 changed files with 105 additions and 99 deletions
|
|
@ -59,7 +59,7 @@ namespace fs
|
|||
|
||||
fd = -1;
|
||||
count = MAX_ATTEMPTS;
|
||||
flags = (flags_ | O_EXCL | O_CREAT);
|
||||
flags = (flags_ | O_EXCL | O_CREAT | O_TRUNC);
|
||||
while(count-- > 0)
|
||||
{
|
||||
tmppath = generate_tmp_path(*base_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue