mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse_setxattr.cpp
This commit is contained in:
parent
6d54e14f26
commit
a468e35b92
1 changed files with 2 additions and 0 deletions
|
|
@ -159,6 +159,8 @@ _setxattr(const Policy::Action &setxattrPolicy_,
|
|||
rv = setxattrPolicy_(branches_,fusepath_,branches);
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
if(branches.empty())
|
||||
return -ENOENT;
|
||||
|
||||
::_setxattr_loop(branches,fusepath_,attrname_,attrval_,attrvalsize_,flags_,&prv);
|
||||
if(prv.errors.empty())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue