mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Add getdents based readdir functions for Linux (#1533)
This commit is contained in:
parent
95ab37fdd2
commit
2f3e807e9d
33 changed files with 886 additions and 904 deletions
|
|
@ -21,7 +21,7 @@
|
|||
#include "fuse_readdir_factory.hpp"
|
||||
|
||||
#include "dirinfo.hpp"
|
||||
#include "fuse_dirents.h"
|
||||
#include "fuse_dirents.hpp"
|
||||
|
||||
#include "config.hpp"
|
||||
|
||||
|
|
@ -82,7 +82,7 @@ _handle_ENOENT(const fuse_file_info_t *ffi_,
|
|||
dirent de;
|
||||
DirInfo *di = DirInfo::from_fh(ffi_->fh);
|
||||
|
||||
if(di->fusepath != "/")
|
||||
if(!di->fusepath.empty())
|
||||
return -ENOENT;
|
||||
|
||||
de = {0};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue