Browse Source

func_getattr_ff.cpp

getattr
Antonio SJ Musumeci 4 weeks ago
parent
commit
1b9d655982
  1. 5
      src/func_getattr_ff.cpp

5
src/func_getattr_ff.cpp

@ -20,7 +20,10 @@ Func2::GetattrFF::process(const Branches &branches_,
fullpath += fusepath_; fullpath += fusepath_;
rv = fs::lstat(fullpath.c_str(),st_); rv = fs::lstat(fullpath.c_str(),st_);
if(rv == 0) if(rv == 0)
return 0;
{
fs::inode::calc(fusepath_,st_);
return 0;
}
} }
return -ENOENT; return -ENOENT;

Loading…
Cancel
Save