mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-04-21 12:31:43 +00:00
enable nopath and nullpath_ok
This commit is contained in:
+2
-3
@@ -52,9 +52,8 @@ namespace mergerfs
|
||||
release(const char *fusepath,
|
||||
fuse_file_info *ffi)
|
||||
{
|
||||
const fuse_context *fc = fuse_get_context();
|
||||
const Config &config = Config::get(fc);
|
||||
FileInfo *fi = reinterpret_cast<FileInfo*>(ffi->fh);
|
||||
const Config &config = Config::get();
|
||||
FileInfo *fi = reinterpret_cast<FileInfo*>(ffi->fh);
|
||||
|
||||
return _release(fi,config.dropcacheonclose);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user