mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse_getattr.cpp
This commit is contained in:
parent
3aa6c34894
commit
6ea0d9ab63
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ _getattr(const Policy::Search &searchFunc_,
|
|||
break;
|
||||
case FollowSymlinks::ENUM::DIRECTORY:
|
||||
rv = fs::lstat(fullpath,st_);
|
||||
if(S_ISLNK(st_->st_mode))
|
||||
if((rv > 0) && S_ISLNK(st_->st_mode))
|
||||
::_set_stat_if_leads_to_dir(fullpath,st_);
|
||||
break;
|
||||
case FollowSymlinks::ENUM::REGULAR:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue