enable nopath and nullpath_ok

This commit is contained in:
Antonio SJ Musumeci 2017-04-11 08:53:46 -04:00
parent 3c8afc1bb0
commit 162b99e6b8
21 changed files with 208 additions and 55 deletions

View file

@ -16,6 +16,8 @@
#include <fuse.h>
#include "dirinfo.hpp"
namespace mergerfs
{
namespace fuse
@ -24,7 +26,7 @@ namespace mergerfs
opendir(const char *fusepath,
fuse_file_info *ffi)
{
ffi->fh = 0;
ffi->fh = reinterpret_cast<uint64_t>(new DirInfo(fusepath));
return 0;
}