mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
enable nopath and nullpath_ok
This commit is contained in:
parent
3c8afc1bb0
commit
162b99e6b8
21 changed files with 208 additions and 55 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue