mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05:00
Ensure passthrough and keep_cache are mutually exclusive (#1493)
This commit is contained in:
parent
f852474073
commit
fa851eda3a
2 changed files with 3 additions and 3 deletions
|
|
@ -2373,7 +2373,7 @@ fuse_lib_open(fuse_req_t req,
|
|||
err = f->fs->op.open(path,&ffi);
|
||||
if(!err)
|
||||
{
|
||||
if(ffi.auto_cache)
|
||||
if(ffi.auto_cache && (ffi.passthrough == false))
|
||||
open_auto_cache(f,hdr_->nodeid,path,&ffi);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue