mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-29 11:26:44 -05:00
Rework open file resource management
This commit is contained in:
parent
b8776d205d
commit
5979b0ee3c
11 changed files with 734 additions and 309 deletions
|
|
@ -260,7 +260,7 @@ fill_open(struct fuse_open_out *arg_,
|
|||
arg_->open_flags |= FOPEN_PARALLEL_DIRECT_WRITES;
|
||||
if(ffi_->noflush)
|
||||
arg_->open_flags |= FOPEN_NOFLUSH;
|
||||
if(ffi_->passthrough && (ffi_->backing_id > 0))
|
||||
if(ffi_->passthrough && fuse_backing_id_is_valid(ffi_->backing_id))
|
||||
{
|
||||
arg_->open_flags |= FOPEN_PASSTHROUGH;
|
||||
arg_->backing_id = ffi_->backing_id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue