mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05:00
Auto-commit fuse_setxattr.cpp
This commit is contained in:
parent
700cf50f10
commit
a6c75e0458
1 changed files with 2 additions and 0 deletions
|
|
@ -172,6 +172,8 @@ _setxattr(const Policy::Action &setxattrPolicy_,
|
|||
rv = getxattrPolicy_(branches_,fusepath_,branches);
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
if(branches.empty())
|
||||
return -ENOENT;
|
||||
|
||||
return prv.get_error(branches[0]->path);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue