enable nopath and nullpath_ok

This commit is contained in:
Antonio SJ Musumeci
2017-04-12 13:52:06 -04:00
parent 3c8afc1bb0
commit 162b99e6b8
21 changed files with 208 additions and 55 deletions
+2 -3
View File
@@ -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);
}