mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05:00
Auto-commit fuse.cpp
This commit is contained in:
parent
c40c56cd2e
commit
20560e5923
1 changed files with 3 additions and 4 deletions
|
|
@ -1497,10 +1497,9 @@ fuse_lib_getattr(fuse_req_t *req_,
|
|||
if(!err)
|
||||
{
|
||||
if(fusepath != NULL)
|
||||
err = f.ops.getattr(&req_->ctx,&fusepath[1],&buf,&timeouts) :
|
||||
err = ((fusepath != NULL) ?
|
||||
|
||||
f.ops.fgetattr(&req_->ctx,fh,&buf,&timeouts));
|
||||
err = f.ops.getattr(&req_->ctx,&fusepath[1],&buf,&timeouts);
|
||||
else if(fh != 0)
|
||||
err = f.ops.fgetattr(&req_->ctx,fh,&buf,&timeouts);
|
||||
|
||||
free_path(hdr_->nodeid,fusepath);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue