filter .fuse_hidden* files from readdir

This commit is contained in:
Antonio SJ Musumeci 2018-10-29 16:30:28 -04:00
parent 9c16ab6999
commit 645c798b91

View File

@ -74,6 +74,8 @@ _readdir(const vector<string> &srcmounts,
rv = 0;
for(struct dirent *de = fs::readdir(dh); de && !rv; de = fs::readdir(dh))
{
if(!strncmp(de->d_name,".fuse_hidden",12))
continue;
rv = names.put(de->d_name);
if(rv == 0)
continue;