mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
cleanup function signatures and definitions
This commit is contained in:
parent
6cc6524997
commit
ec15872a1f
112 changed files with 743 additions and 820 deletions
|
|
@ -83,7 +83,7 @@ namespace l
|
|||
int dirfd;
|
||||
int64_t nread;
|
||||
|
||||
basepath = fs::path::make(&branches_[i].path,dirname_);
|
||||
basepath = fs::path::make(branches_[i].path,dirname_);
|
||||
|
||||
dirfd = fs::open_dir_ro(basepath);
|
||||
if(dirfd == -1)
|
||||
|
|
@ -95,7 +95,7 @@ namespace l
|
|||
|
||||
for(;;)
|
||||
{
|
||||
nread = fs::getdents(dirfd,buf,g_DENTS_BUF_POOL.size());
|
||||
nread = fs::getdents64(dirfd,buf,g_DENTS_BUF_POOL.size());
|
||||
if(nread == -1)
|
||||
break;
|
||||
if(nread == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue